java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/SymbolSolver.java
@Deprecated
    public SymbolReference<ResolvedTypeDeclaration> solveTypeInType(ResolvedTypeDeclaration typeDeclaration, String name) {
        if (typeDeclaration instanceof JavaParserClassDeclaration) {
            return ((JavaParserClassDeclaration) typeDeclaration).solveType(name, typeSolver);
        }
        if (typeDeclaration instanceof JavaParserInterfaceDeclaration) {
            return ((JavaParserInterfaceDeclaration) typeDeclaration).solveType(name, typeSolver);
        }
        return SymbolReference.unsolved(ResolvedReferenceTypeDeclaration.class);
    }
@Deprecated
    public SymbolReference<ResolvedTypeDeclaration> solveTypeInType(ResolvedTypeDeclaration typeDeclaration, String name) {
        if (typeDeclaration instanceof JavaParserClassDeclaration) {
            return ((JavaParserClassDeclaration) typeDeclaration).solveType(name, typeSolver);
        }
        if (typeDeclaration instanceof JavaParserInterfaceDeclaration) {
            return ((JavaParserInterfaceDeclaration) typeDeclaration).solveType(name, typeSolver);
        }
        return SymbolReference.unsolved(ResolvedReferenceTypeDeclaration.class);
    }
@ Deprecated public SymbolReference < ResolvedTypeDeclaration > solveTypeInType ( ResolvedTypeDeclaration typeDeclaration , String name ) { if ( typeDeclaration instanceof JavaParserClassDeclaration ) { return ( ( JavaParserClassDeclaration ) typeDeclaration ) . solveType ( name , typeSolver ) ; } if ( typeDeclaration instanceof JavaParserInterfaceDeclaration ) { return ( ( JavaParserInterfaceDeclaration ) typeDeclaration ) . solveType ( name , typeSolver ) ; } return SymbolReference . unsolved ( ResolvedReferenceTypeDeclaration . class ) ; }
Try to solve a symbol just in the declaration, it does not delegate to the container.
Try to solve a symbol just in the declaration it does not delegate to the container .