net.sourceforge.pmd.lang.java.typeresolution
Class TypeHelper

java.lang.Object
  extended by net.sourceforge.pmd.lang.java.typeresolution.TypeHelper

public final class TypeHelper
extends Object


Method Summary
static boolean isA(TypedNameDeclaration vnd, Class<?> clazz)
           
static boolean isA(TypeNode n, Class<?> clazz)
           
static boolean isEither(TypedNameDeclaration vnd, Class<?> class1, Class<?> class2)
           
static boolean isEither(TypeNode n, Class<?> class1, Class<?> class2)
           
static boolean isNeither(TypedNameDeclaration vnd, Class<?> class1, Class<?> class2)
           
static boolean subclasses(TypeNode n, Class<?> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isA

public static boolean isA(TypeNode n,
                          Class<?> clazz)

isEither

public static boolean isEither(TypeNode n,
                               Class<?> class1,
                               Class<?> class2)

isA

public static boolean isA(TypedNameDeclaration vnd,
                          Class<?> clazz)

isEither

public static boolean isEither(TypedNameDeclaration vnd,
                               Class<?> class1,
                               Class<?> class2)

isNeither

public static boolean isNeither(TypedNameDeclaration vnd,
                                Class<?> class1,
                                Class<?> class2)

subclasses

public static boolean subclasses(TypeNode n,
                                 Class<?> clazz)


Copyright © 2002-2015 InfoEther. All Rights Reserved.