Top Fields Constructors Methods
com.github.javaparser.resolution.types

public Class ResolvedLambdaConstraintType

extends Object
implements ResolvedType
Class Inheritance
All Implemented Interfaces
com.github.javaparser.resolution.types.ResolvedType

Field Summary

Modifier and TypeField and Description
private ResolvedType

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public ResolvedLambdaConstraintType
public static ResolvedLambdaConstraintType
public String
public ResolvedType
public boolean
isAssignableBy(ResolvedType other)

Implements com.github.javaparser.resolution.types.ResolvedType.isAssignableBy.

This method checks if ThisType t = new OtherType() would compile.
public boolean
isConstraint()

Overrides default com.github.javaparser.resolution.types.ResolvedType.isConstraint.

Is this a lambda constraint type?
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

boundback to summary
private ResolvedType bound

Constructor Detail

ResolvedLambdaConstraintTypeback to summary
private ResolvedLambdaConstraintType(ResolvedType bound)

Method Detail

asConstraintTypeback to summary
public ResolvedLambdaConstraintType asConstraintType()

Overrides default com.github.javaparser.resolution.types.ResolvedType.asConstraintType.

Annotations
@Override
boundback to summary
public static ResolvedLambdaConstraintType bound(ResolvedType bound)
describeback to summary
public String describe()

Implements com.github.javaparser.resolution.types.ResolvedType.describe.

Annotations
@Override
getBoundback to summary
public ResolvedType getBound()
isAssignableByback to summary
public boolean isAssignableBy(ResolvedType other)

Implements com.github.javaparser.resolution.types.ResolvedType.isAssignableBy.

Doc from com.github.javaparser.resolution.types.ResolvedType.isAssignableBy.

This method checks if ThisType t = new OtherType() would compile.

Annotations
@Override
isConstraintback to summary
public boolean isConstraint()

Overrides default com.github.javaparser.resolution.types.ResolvedType.isConstraint.

Doc from com.github.javaparser.resolution.types.ResolvedType.isConstraint.

Is this a lambda constraint type?

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override