Uses of Class
net.sourceforge.pmd.lang.java.types.TypeSystem
Packages that use TypeSystem
Package
Description
Contains the classes and interfaces modelling the Java AST.
The new symbol resolution framework
that inter-operates cleanly with type resolution.
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 TypeSystemModifier and TypeMethodDescriptionASTCompilationUnit.getTypeSystem()JavaNode.getTypeSystem()Returns the type system with which this node was created.Methods in net.sourceforge.pmd.lang.java.ast with parameters of type TypeSystemModifier and TypeMethodDescriptionstatic JTypeMirrorInternalApiBridge.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 TypeSystemModifier and TypeMethodDescriptionJElementSymbol.getTypeSystem()Returns the type system that created this symbol.Methods in net.sourceforge.pmd.lang.java.symbols with parameters of type TypeSystemModifier and TypeMethodDescriptionstatic SymbolicValue.SymEnumSymbolicValue.SymEnum.fromBinaryName(TypeSystem ts, String enumBinaryName, String enumConstName) static SymbolicValueSymbolicValue.SymEnum.fromEnum(TypeSystem ts, Enum<?> value) Returns the symbolic value for the given enum constant.static SymbolicValue.SymEnumSymbolicValue.SymEnum.fromTypeDescriptor(TypeSystem ts, String enumTypeDescriptor, String enumConstName) static @Nullable SymbolicValueSymbolicValue.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.SymClassSymbolicValue.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 TypeSystemModifier and TypeMethodDescriptionJArrayType.getTypeSystem()JIntersectionType.getTypeSystem()JMethodSig.getTypeSystem()Return the type system with which this method was created.JPrimitiveType.getTypeSystem()JTypeMirror.getTypeSystem()Returns the type system that built this type.static TypeSystemTypeSystem.usingClassLoaderClasspath(ClassLoader bootstrapResourceLoader) Builds a new type system.static TypeSystemTypeSystem.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 TypeSystemModifier and TypeMethodDescriptionstatic JTypeMirrorTypesFromReflection.fromReflect(Type reflected, TypeSystem ts) static @Nullable JTypeMirrorTypesFromReflection.fromReflect(TypeSystem ts, @NonNull Type reflected, LexicalScope lexicalScope, Substitution subst) Builds a type from reflection.static JTypeMirrorTypesFromReflection.fromReflect(org.apache.commons.lang3.reflect.Typed<?> reflected, TypeSystem ts) Builds a type from reflection.static @Nullable JClassSymbolTypesFromReflection.loadSymbol(TypeSystem ctr, String className) static @Nullable JTypeMirrorTypesFromReflection.loadType(TypeSystem ctr, String className) Load a class.static @Nullable JTypeMirrorTypesFromReflection.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 TypeSystemModifierConstructorDescriptionTypeSystem(Function<TypeSystem, ? extends SymbolResolver> symResolverMaker) Builds a new type system.