|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface JavaResourceMethod
Java source code or binary method
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Nested Class Summary | |
|---|---|
static class |
JavaResourceMethod.IsConstructor
|
static class |
JavaResourceMethod.IsPropertyGetter
|
static class |
JavaResourceMethod.SetMethodTransformer
|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceMember |
|---|
JavaResourceMember.IsFinal, JavaResourceMember.IsProtected, JavaResourceMember.IsPublic, JavaResourceMember.IsStatic, JavaResourceMember.IsTransient, JavaResourceMember.NameTransformer |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceAnnotatedElement |
|---|
JavaResourceAnnotatedElement.AstNodeType, JavaResourceAnnotatedElement.AstNodeTypeEquals, JavaResourceAnnotatedElement.IsAnnotated, JavaResourceAnnotatedElement.IsAnnotatedWithAnyOf |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceModel |
|---|
JavaResourceModel.FileTransformer, JavaResourceModel.Root |
| Field Summary | |
|---|---|
static String |
CONSTRUCTOR_PROPERTY
|
static org.eclipse.jpt.common.utility.predicate.Predicate<JavaResourceMethod> |
IS_CONSTRUCTOR
|
static org.eclipse.jpt.common.utility.predicate.Predicate<JavaResourceMethod> |
IS_PROPERTY_GETTER
Return whether the method is a standard property "getter" method. |
static String |
PARAMETER_TYPE_NAMES_LIST
|
static org.eclipse.jpt.common.utility.transformer.Transformer<JavaResourceMethod,JavaResourceMethod> |
SET_METHOD_TRANSFORMER
Transform a "get"/"is" method into its corresponding "set" method, if present. |
| Fields inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceAttribute |
|---|
MODIFIERS_PROPERTY, TYPE_BINDING_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceMember |
|---|
FINAL_PROPERTY, IS_FINAL, IS_PROTECTED, IS_PUBLIC, IS_STATIC, IS_TRANSIENT, NAME_TRANSFORMER, PROTECTED_PROPERTY, PUBLIC_PROPERTY, STATIC_PROPERTY, TRANSIENT_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceAnnotatedElement |
|---|
ANNOTATIONS_COLLECTION, IS_ANNOTATED, NESTABLE_ANNOTATIONS_COLLECTION |
| Fields inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceModel |
|---|
FILE_TRANSFORMER |
| Method Summary | |
|---|---|
String |
getMethodName()
The Java resource method's name does not change. |
int |
getParametersSize()
|
String |
getParameterTypeName(int index)
|
org.eclipse.jpt.common.utility.iterable.ListIterable<String> |
getParameterTypeNames()
|
boolean |
isConstructor()
|
boolean |
isFor(MethodSignature methodSignature,
int occurrence)
Return whether the Java resource persistent attribute is for the specified method. |
void |
synchronizeWith(MethodDeclaration methodDeclaration)
Synchronize the [source] method with the specified AST MethodDeclaration. |
| Methods inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceAttribute |
|---|
getModifiers, getParent, getResourceType, getTypeBinding |
| Methods inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceMember |
|---|
getName, isFinal, isFor, isProtected, isPublic, isPublicOrProtected, isStatic, isTransient, setPrimaryAnnotation |
| Methods inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceAnnotatedElement |
|---|
addAnnotation, addAnnotation, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotationsSize, getAnnotationsSize, getAstNodeType, getContainerAnnotation, getNameTextRange, getNonNullAnnotation, getTextRange, getTopLevelAnnotations, isAnnotated, isAnnotatedWithAnyOf, moveAnnotation, removeAnnotation, removeAnnotation |
| Methods inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceModel |
|---|
getFile, getJavaResourceCompilationUnit, getRoot, getTextRange |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener |
| Field Detail |
|---|
static final String PARAMETER_TYPE_NAMES_LIST
static final String CONSTRUCTOR_PROPERTY
static final org.eclipse.jpt.common.utility.predicate.Predicate<JavaResourceMethod> IS_CONSTRUCTOR
static final org.eclipse.jpt.common.utility.predicate.Predicate<JavaResourceMethod> IS_PROPERTY_GETTER
static final org.eclipse.jpt.common.utility.transformer.Transformer<JavaResourceMethod,JavaResourceMethod> SET_METHOD_TRANSFORMER
| Method Detail |
|---|
String getMethodName()
org.eclipse.jpt.common.utility.iterable.ListIterable<String> getParameterTypeNames()
String getParameterTypeName(int index)
int getParametersSize()
boolean isConstructor()
boolean isFor(MethodSignature methodSignature,
int occurrence)
void synchronizeWith(MethodDeclaration methodDeclaration)
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||