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.ClassName
className
private javax.lang.model.element.ExecutableElement
executableElement
private 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 boolean
equals(java.lang.Object obj)
int
hashCode()
<X> X
match(InstanceLocation.Cases<X> cases)
java.lang.String
toString()
-
-
-
Method Detail
-
match
public <X> X match(InstanceLocation.Cases<X> cases)
- Specified by:
match
in classInstanceLocation
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in classInstanceLocation
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classInstanceLocation
-
toString
public java.lang.String toString()
- Specified by:
toString
in classInstanceLocation
-
-