Package org.derive4j.processor.api
Class InstanceLocations.Method
- java.lang.Object
-
- org.derive4j.processor.api.InstanceLocation
-
- org.derive4j.processor.api.InstanceLocations.Method
-
- Enclosing class:
- InstanceLocations
private static final class InstanceLocations.Method extends InstanceLocation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.derive4j.processor.api.InstanceLocation
InstanceLocation.Cases<X>
-
-
Field Summary
Fields Modifier and Type Field Description private com.squareup.javapoet.ClassNameclassNameprivate javax.lang.model.element.ExecutableElementexecutableElementprivate java.util.Map<javax.lang.model.type.TypeVariable,javax.lang.model.type.TypeMirror>typeArgs
-
Constructor Summary
Constructors Constructor Description Method(com.squareup.javapoet.ClassName className, javax.lang.model.element.ExecutableElement executableElement, java.util.Map<javax.lang.model.type.TypeVariable,javax.lang.model.type.TypeMirror> typeArgs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()<X> Xmatch(InstanceLocation.Cases<X> cases)java.lang.StringtoString()
-
-
-
Method Detail
-
match
public <X> X match(InstanceLocation.Cases<X> cases)
- Specified by:
matchin classInstanceLocation
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin classInstanceLocation
-
hashCode
public int hashCode()
- Specified by:
hashCodein classInstanceLocation
-
toString
public java.lang.String toString()
- Specified by:
toStringin classInstanceLocation
-
-