public interface IClassReferenceListener
Modifier and Type | Method and Description |
---|---|
String |
getAnnotationBackReference()
Gets the back-reference string.
|
PropCnr |
getBackReferenceProperty()
Gets the back-reference property.
|
String |
getRequiredClassAnnotation()
Get the fully qualified annotation name that the Java Class should be annotated with.
|
String |
getRequiredInterface()
Gets the fully qualified interface name that the Java Class should implement.
|
boolean |
isAnnotationBackReferenceRequired()
Checks if the Class Reference require an annotation back-reference.
|
void |
onJavaChangedSWT(JavaClass reference)
Called when the source has changed and is recompiled on disk or in-memory reconcile.
|
void |
onMethodRenamed(JavaClass reference,
String oldName,
String newName,
String signature)
Called when a method has been renamed in the class.
|
void |
onRename(JavaClass reference,
String newName)
Informs the listener that the fully qualified class name has been changed.
|
void |
onResolve(JavaClass reference,
boolean isClassFound,
String errorMessage)
Notifies the Class Reference of resolve result.
|
String getRequiredClassAnnotation()
void onResolve(JavaClass reference, boolean isClassFound, String errorMessage)
reference
- The Class Reference.isClassFound
- Flag indicating class is found, but interface is not implemented (when true) or annotation is missing.errorMessage
- The error message, or null to clear the error.boolean isAnnotationBackReferenceRequired()
String getAnnotationBackReference()
PropCnr getBackReferenceProperty()
String getRequiredInterface()
void onJavaChangedSWT(JavaClass reference)
void onRename(JavaClass reference, String newName)
reference
- The Class Reference.newName
- The new fully qualified class name.void onMethodRenamed(JavaClass reference, String oldName, String newName, String signature)
reference
- The Class Reference.oldName
- Old name.newName
- New name.signature
- Signature of method as retrieved by JavaHelper.getSimpleSignature class in Designer.iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.