Uses of Interface
net.sourceforge.pmd.lang.java.symbols.JClassSymbol
-
Packages that use JClassSymbol Package Description net.sourceforge.pmd.lang.java.ast Contains the classes and interfaces modelling the Java AST.net.sourceforge.pmd.lang.java.symbols The new symbol resolution framework that inter-operates cleanly with type resolution.net.sourceforge.pmd.lang.java.types Support for compile-time type resolution on the AST. -
-
Uses of JClassSymbol in net.sourceforge.pmd.lang.java.ast
Methods in net.sourceforge.pmd.lang.java.ast that return JClassSymbol Modifier and Type Method Description @NonNull JClassSymbolASTTypeDeclaration. getSymbol() -
Uses of JClassSymbol in net.sourceforge.pmd.lang.java.symbols
Methods in net.sourceforge.pmd.lang.java.symbols that return JClassSymbol Modifier and Type Method Description @NonNull JClassSymbolSymbolicValue.SymAnnot. getAnnotationSymbol()Return the symbol for the declaring class of the annotation.default @Nullable JClassSymbolJClassSymbol. getDeclaredClass(String name)Returns a class with the given name defined in this class.@Nullable JClassSymbolJAccessibleElementSymbol. getEnclosingClass()Returns the class that directly encloses this declaration.@NonNull JClassSymbolJExecutableSymbol. getEnclosingClass()Returns the class symbol declaring this method or constructor.@NonNull JClassSymbolJFieldSymbol. getEnclosingClass()@NonNull JClassSymbolJRecordComponentSymbol. getEnclosingClass()default @NonNull JClassSymbolJTypeParameterSymbol. getEnclosingClass()default @NonNull JClassSymbolJClassSymbol. getNestRoot()Returns the toplevel class containing this class.@Nullable JClassSymbolJClassSymbol. getSuperclass()Returns the superclass symbol if it exists.@Nullable JClassSymbolSymbolResolver. resolveClassFromBinaryName(@NonNull String binaryName)Resolves a class symbol from its canonical name.default @Nullable JClassSymbolSymbolResolver. resolveClassFromCanonicalName(@NonNull String canonicalName)Resolves a class symbol from its canonical name.Methods in net.sourceforge.pmd.lang.java.symbols that return types with arguments of type JClassSymbol Modifier and Type Method Description List<JClassSymbol>JClassSymbol. getDeclaredClasses()Returns the member classes declared directly in this class.List<JClassSymbol>JClassSymbol. getSuperInterfaces()Returns the direct super-interfaces of this class or interface symbol.Methods in net.sourceforge.pmd.lang.java.symbols with parameters of type JClassSymbol Modifier and Type Method Description default RSymbolVisitor. visitArray(JClassSymbol sym, JTypeDeclSymbol component, P param)Delegates tovisitClass.default RSymbolVisitor. visitClass(JClassSymbol sym, P param)Delegates tovisitTypeDecl. -
Uses of JClassSymbol in net.sourceforge.pmd.lang.java.types
Methods in net.sourceforge.pmd.lang.java.types that return JClassSymbol Modifier and Type Method Description @Nullable JClassSymbolTypeSystem. getClassSymbol(@Nullable Class<?> clazz)Returns the class symbol for the given reflected class.@Nullable JClassSymbolTypeSystem. getClassSymbol(String binaryName)Returns a symbol for the binary name.@Nullable JClassSymbolTypeSystem. getClassSymbolFromCanonicalName(String canonicalName)Returns a symbol for the canonical name.@NonNull JClassSymbolJArrayType. getSymbol()@NonNull JClassSymbolJClassType. getSymbol()@NonNull JClassSymbolJPrimitiveType. getSymbol()Returns the type of the primitive class, egInteger.TYPE.static @Nullable JClassSymbolTypesFromReflection. loadSymbol(TypeSystem ctr, String className)Methods in net.sourceforge.pmd.lang.java.types with parameters of type JClassSymbol Modifier and Type Method Description static Predicate<JMethodSymbol>TypeOps. accessibleMethodFilter(String name, @NonNull JClassSymbol symbol)static JClassTypeTypeOps. asOuterSuper(JTypeMirror t, JClassSymbol sym)Return the base type of t or any of its outer types that starts with the given type.static @Nullable JTypeMirrorTypeOps. asSuper(@NonNull JTypeMirror t, @NonNull JClassSymbol s)JTypeMirrorTypeSystem. declaration(@Nullable JClassSymbol klass)LikeTypeSystem.typeOf(JTypeDeclSymbol, boolean), defaulting the erased parameter to false.static List<JMethodSig>TypeOps. filterAccessible(List<JMethodSig> visible, @NonNull JClassSymbol accessSite)default @Nullable JClassTypeJClassType. getAsSuper(@NonNull JClassSymbol symbol)default @Nullable JTypeMirrorJTypeMirror. getAsSuper(@NonNull JClassSymbol symbol)Returns the most specific declared supertype of this type whose erasure is the same as that of the parameter.static NameResolver<JVariableSig.FieldSig>TypeOps. getMemberFieldResolver(JTypeMirror c, @NonNull String accessPackageName, @Nullable JClassSymbol access, String name)static List<JMethodSig>TypeOps. getMethodsOf(JTypeMirror type, String name, boolean staticOnly, @NonNull JClassSymbol enclosing)static Iterable<JMethodSig>TypeOps. lazyFilterAccessible(List<JMethodSig> visible, @NonNull JClassSymbol accessSite)@NonNull JTypeMirrorTypeSystem. parameterise(@NonNull JClassSymbol klass, @NonNull List<? extends JTypeMirror> typeArgs)Produce a parameterized type with the given symbol and type arguments.default JClassTypeJClassType. selectInner(JClassSymbol symbol, List<? extends JTypeMirror> targs)Select an inner type.JClassTypeJClassType. selectInner(JClassSymbol symbol, List<? extends JTypeMirror> targs, org.pcollections.PSet<SymbolicValue.SymAnnot> typeAnnotations)Select an inner type, with new type annotations.
-