@Trait @CompileStatic trait InterfaceProjectionBuilder extends java.lang.Object
Base trait for building interface projections
| Type Params | Return Type | Name and description |
|---|---|---|
|
MethodNode |
buildInterfaceImpl(ClassNode interfaceNode, ClassNode declaringClass, ClassNode targetDomainClass, MethodNode abstractMethodNode) |
|
boolean |
hasCompatibleProperties(ClassNode domainClass, ClassNode candidateType)Whether every property declared by the candidate interface has a compatible property of the same name on the domain class |
|
boolean |
isInterfaceProjection(ClassNode domainClass, MethodNode methodNode, ClassNode returnType) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Whether every property declared by the candidate interface has a compatible property of the same name on the domain class
domainClass - The domain classcandidateType - The interface being considered as a projection