Uses of Class
net.sourceforge.pmd.lang.java.types.TypeSystem
-
Packages that use TypeSystem 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 TypeSystem in net.sourceforge.pmd.lang.java.ast
Methods in net.sourceforge.pmd.lang.java.ast that return TypeSystem Modifier and Type Method Description TypeSystem
ASTCompilationUnit. getTypeSystem()
TypeSystem
JavaNode. getTypeSystem()
Returns the type system with which this node was created.Methods in net.sourceforge.pmd.lang.java.ast with parameters of type TypeSystem Modifier and Type Method Description static JTypeMirror
InternalApiBridge. buildTypeFromAstInternal(TypeSystem ts, Substitution lexicalSubst, ASTType node)
-
Uses of TypeSystem in net.sourceforge.pmd.lang.java.symbols
Methods in net.sourceforge.pmd.lang.java.symbols that return TypeSystem Modifier and Type Method Description TypeSystem
JElementSymbol. getTypeSystem()
Returns the type system that created this symbol.Methods in net.sourceforge.pmd.lang.java.symbols with parameters of type TypeSystem Modifier and Type Method Description static SymbolicValue.SymEnum
SymbolicValue.SymEnum. fromBinaryName(TypeSystem ts, String enumBinaryName, String enumConstName)
static SymbolicValue
SymbolicValue.SymEnum. fromEnum(TypeSystem ts, Enum<?> value)
Returns the symbolic value for the given enum constant.static SymbolicValue.SymEnum
SymbolicValue.SymEnum. fromTypeDescriptor(TypeSystem ts, String enumTypeDescriptor, String enumConstName)
static @Nullable SymbolicValue
SymbolicValue. of(TypeSystem ts, Object value)
Returns a symbolic value for the given java object Returns an annotation element for the given java value.static SymbolicValue.SymClass
SymbolicValue.SymClass. ofBinaryName(TypeSystem ts, String binaryName)
-
Uses of TypeSystem in net.sourceforge.pmd.lang.java.types
Methods in net.sourceforge.pmd.lang.java.types that return TypeSystem Modifier and Type Method Description TypeSystem
JArrayType. getTypeSystem()
TypeSystem
JIntersectionType. getTypeSystem()
TypeSystem
JMethodSig. getTypeSystem()
Return the type system with which this method was created.TypeSystem
JPrimitiveType. getTypeSystem()
TypeSystem
JTypeMirror. getTypeSystem()
Returns the type system that built this type.static TypeSystem
TypeSystem. usingClassLoaderClasspath(ClassLoader bootstrapResourceLoader)
Builds a new type system.static TypeSystem
TypeSystem. usingClasspath(net.sourceforge.pmd.lang.java.symbols.internal.asm.Classpath bootstrapResourceLoader)
Builds a new type system.Methods in net.sourceforge.pmd.lang.java.types with parameters of type TypeSystem Modifier and Type Method Description static JTypeMirror
TypesFromReflection. fromReflect(Type reflected, TypeSystem ts)
static @Nullable JTypeMirror
TypesFromReflection. fromReflect(TypeSystem ts, @NonNull Type reflected, LexicalScope lexicalScope, Substitution subst)
Builds a type from reflection.static JTypeMirror
TypesFromReflection. fromReflect(org.apache.commons.lang3.reflect.Typed<?> reflected, TypeSystem ts)
Builds a type from reflection.static @Nullable JClassSymbol
TypesFromReflection. loadSymbol(TypeSystem ctr, String className)
static @Nullable JTypeMirror
TypesFromReflection. loadType(TypeSystem ctr, String className)
Load a class.static @Nullable JTypeMirror
TypesFromReflection. loadType(TypeSystem ctr, String className, net.sourceforge.pmd.lang.java.symbols.internal.UnresolvedClassStore unresolvedStore)
Load a class.Constructor parameters in net.sourceforge.pmd.lang.java.types with type arguments of type TypeSystem Constructor Description TypeSystem(Function<TypeSystem,? extends SymbolResolver> symResolverMaker)
Builds a new type system.
-