Class JavaParserTypeAdapter<T extends Node & NodeWithSimpleName<T> & NodeWithMembers<T>>

    • Constructor Detail

      • JavaParserTypeAdapter

        public JavaParserTypeAdapter​(T wrappedNode,
                                     TypeSolver typeSolver)
    • Method Detail

      • getPackageName

        public java.lang.String getPackageName()
      • getClassName

        public java.lang.String getClassName()
      • getQualifiedName

        public java.lang.String getQualifiedName()
      • isAssignableBy

        public boolean isAssignableBy​(ResolvedType type)
      • solveType

        @Deprecated
        public SymbolReference<ResolvedTypeDeclaration> solveType​(java.lang.String name)
        Deprecated.
        This method is deprecated because it receives the TypesSolver as a parameter. Eventually we would like to remove all usages of TypeSolver as a parameter. Also, resolution should move out of declarations, so that they are pure declarations and the resolution should work for JavaParser, Reflection and Javassist classes in the same way and not be specific to the three implementations.