@ 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 .