class UnknownType extends Type {

    @AllFieldsConstructor
    public UnknownType() {
        this(null);
    }

    /**
     * This constructor is used by the parser and is considered private.
     */
    @Generated("com.github.javaparser.generator.core.node.MainConstructorGenerator")
    public UnknownType(TokenRange tokenRange) {
        super(tokenRange);
        customInitialization();
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.AcceptGenerator")
    public <R, A> R accept(final GenericVisitor<R, A> v, final A arg) {
        return v.visit(this, arg);
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.AcceptGenerator")
    public <A> void accept(final VoidVisitor<A> v, final A arg) {
        v.visit(this, arg);
    }

    @Override
    public UnknownType setAnnotations(NodeList<AnnotationExpr> annotations) {<FILL_FUNCTION_BODY>}

    @Override
    public String asString() {
        return "";
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.CloneGenerator")
    public UnknownType clone() {
        return (UnknownType) accept(new CloneVisitor(), null);
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.GetMetaModelGenerator")
    public UnknownTypeMetaModel getMetaModel() {
        return JavaParserMetaModel.unknownTypeMetaModel;
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
    public boolean isUnknownType() {
        return true;
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
    public UnknownType asUnknownType() {
        return this;
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
    public void ifUnknownType(Consumer<UnknownType> action) {
        action.accept(this);
    }

    @Override
    public ResolvedType resolve() {
        return getSymbolResolver().toResolvedType(this, ResolvedReferenceType.class);
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
    public Optional<UnknownType> toUnknownType() {
        return Optional.of(this);
    }

    /*
     * A "phantom" node, is a node that is not really an AST node (like the fake type of variable in FieldDeclaration)
     */
    @Override
    public boolean isPhantom() {
        return true;
    }

    /**
     * A {@link UnknownType} cannot be convertible to {@link ResolvedType}.
     *
     * @param type      The type to be converted.
     * @param context   The current context.
     *
     * @return The type resolved.
     */
	@Override
	public ResolvedType convertToUsage(Context context) {
		throw new IllegalArgumentException("Inferred lambda parameter type");
	}
}

        if (annotations.size() > 0) {
            throw new IllegalStateException("Inferred lambda types cannot be annotated.");
        }
        return (UnknownType) super.setAnnotations(annotations);
    
<methods>public void <init>(NodeList<com.github.javaparser.ast.expr.AnnotationExpr>) ,public void <init>(com.github.javaparser.TokenRange, NodeList<com.github.javaparser.ast.expr.AnnotationExpr>) ,public com.github.javaparser.ast.type.ArrayType asArrayType() ,public com.github.javaparser.ast.type.ClassOrInterfaceType asClassOrInterfaceType() ,public com.github.javaparser.ast.type.IntersectionType asIntersectionType() ,public com.github.javaparser.ast.type.PrimitiveType asPrimitiveType() ,public com.github.javaparser.ast.type.ReferenceType asReferenceType() ,public abstract java.lang.String asString() ,public com.github.javaparser.ast.type.TypeParameter asTypeParameter() ,public com.github.javaparser.ast.type.UnionType asUnionType() ,public com.github.javaparser.ast.type.UnknownType asUnknownType() ,public com.github.javaparser.ast.type.VarType asVarType() ,public com.github.javaparser.ast.type.VoidType asVoidType() ,public com.github.javaparser.ast.type.WildcardType asWildcardType() ,public com.github.javaparser.ast.type.Type clone() ,public com.github.javaparser.ast.expr.AnnotationExpr getAnnotation(int) ,public NodeList<com.github.javaparser.ast.expr.AnnotationExpr> getAnnotations() ,public int getArrayLevel() ,public com.github.javaparser.ast.type.Type getElementType() ,public com.github.javaparser.metamodel.TypeMetaModel getMetaModel() ,public void ifArrayType(Consumer<com.github.javaparser.ast.type.ArrayType>) ,public void ifClassOrInterfaceType(Consumer<com.github.javaparser.ast.type.ClassOrInterfaceType>) ,public void ifIntersectionType(Consumer<com.github.javaparser.ast.type.IntersectionType>) ,public void ifPrimitiveType(Consumer<com.github.javaparser.ast.type.PrimitiveType>) ,public void ifReferenceType(Consumer<com.github.javaparser.ast.type.ReferenceType>) ,public void ifTypeParameter(Consumer<com.github.javaparser.ast.type.TypeParameter>) ,public void ifUnionType(Consumer<com.github.javaparser.ast.type.UnionType>) ,public void ifUnknownType(Consumer<com.github.javaparser.ast.type.UnknownType>) ,public void ifVarType(Consumer<com.github.javaparser.ast.type.VarType>) ,public void ifVoidType(Consumer<com.github.javaparser.ast.type.VoidType>) ,public void ifWildcardType(Consumer<com.github.javaparser.ast.type.WildcardType>) ,public boolean isArrayType() ,public boolean isClassOrInterfaceType() ,public boolean isIntersectionType() ,public boolean isPrimitiveType() ,public boolean isReferenceType() ,public boolean isTypeParameter() ,public boolean isUnionType() ,public boolean isUnknownType() ,public boolean isVarType() ,public boolean isVoidType() ,public boolean isWildcardType() ,public boolean remove(com.github.javaparser.ast.Node) ,public boolean replace(com.github.javaparser.ast.Node, com.github.javaparser.ast.Node) ,public abstract com.github.javaparser.resolution.types.ResolvedType resolve() ,public com.github.javaparser.ast.type.Type setAnnotations(NodeList<com.github.javaparser.ast.expr.AnnotationExpr>) ,public Optional<com.github.javaparser.ast.type.ArrayType> toArrayType() ,public Optional<com.github.javaparser.ast.type.ClassOrInterfaceType> toClassOrInterfaceType() ,public java.lang.String toDescriptor() ,public Optional<com.github.javaparser.ast.type.IntersectionType> toIntersectionType() ,public Optional<com.github.javaparser.ast.type.PrimitiveType> toPrimitiveType() ,public Optional<com.github.javaparser.ast.type.ReferenceType> toReferenceType() ,public Optional<com.github.javaparser.ast.type.TypeParameter> toTypeParameter() ,public Optional<com.github.javaparser.ast.type.UnionType> toUnionType() ,public Optional<com.github.javaparser.ast.type.UnknownType> toUnknownType() ,public Optional<com.github.javaparser.ast.type.VarType> toVarType() ,public Optional<com.github.javaparser.ast.type.VoidType> toVoidType() ,public Optional<com.github.javaparser.ast.type.WildcardType> toWildcardType() <variables>private NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations