org.eclipse.jpt.jaxb.core.resource.java
Interface JavaResourceMethod

All Superinterfaces:
JavaResourceAnnotatedElement, JavaResourceAttribute, JavaResourceMember, JavaResourceNode, Model

public interface JavaResourceMethod
extends JavaResourceAttribute

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.

Since:
3.0
Version:
3.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceNode
JavaResourceNode.Root
 
Field Summary
static java.lang.String CONSTRUCTOR_PROPERTY
           
static java.lang.String PARAMETER_TYPE_NAMES_LIST
           
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceAttribute
MODIFIERS_PROPERTY, TYPE_INTERFACE_NAMES_COLLECTION, TYPE_IS_ARRAY_PROPERTY, TYPE_IS_ENUM_PROPERTY, TYPE_IS_INTERFACE_PROPERTY, TYPE_NAME_PROPERTY, TYPE_SUPERCLASS_NAMES_LIST, TYPE_TYPE_ARGUMENT_NAMES_LIST
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceMember
FINAL_PROPERTY, PUBLIC_PROPERTY, STATIC_PROPERTY, TRANSIENT_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceAnnotatedElement
ANNOTATIONS_COLLECTION, NESTABLE_ANNOTATIONS_COLLECTION
 
Method Summary
 java.lang.String getMethodName()
          The Java resource method's name does not change.
 int getParametersSize()
           
 org.eclipse.jpt.common.utility.internal.iterables.ListIterable<java.lang.String> getParameterTypeNames()
           
 boolean isConstructor()
           
 boolean isFor(MethodSignature methodSignature, int occurrence)
          Return whether the Java resource persistent attribute is for the specified method.
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceAttribute
getModifiers, getTypeInterfaceNames, getTypeName, getTypeSuperclassNames, getTypeTypeArgumentName, getTypeTypeArgumentNames, getTypeTypeArgumentNamesSize, typeIsArray, typeIsEnum, typeIsInterface, typeIsSubTypeOf, typeIsVariablePrimitive
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceMember
getName, isFinal, isFor, isPublic, isStatic, isTransient, resolveTypes, setPrimaryAnnotation
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceAnnotatedElement
addAnnotation, addAnnotation, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotationsSize, getAnnotationsSize, getNameTextRange, getNonNullAnnotation, isAnnotated, moveAnnotation, removeAnnotation, removeAnnotation
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceNode
getFile, getJavaResourceCompilationUnit, getRoot, getTextRange, initialize, synchronizeWith
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 

Field Detail

PARAMETER_TYPE_NAMES_LIST

static final java.lang.String PARAMETER_TYPE_NAMES_LIST
See Also:
Constant Field Values

CONSTRUCTOR_PROPERTY

static final java.lang.String CONSTRUCTOR_PROPERTY
See Also:
Constant Field Values
Method Detail

getMethodName

java.lang.String getMethodName()
The Java resource method's name does not change.


isFor

boolean isFor(MethodSignature methodSignature,
              int occurrence)
Return whether the Java resource persistent attribute is for the specified method.


getParameterTypeNames

org.eclipse.jpt.common.utility.internal.iterables.ListIterable<java.lang.String> getParameterTypeNames()

getParametersSize

int getParametersSize()

isConstructor

boolean isConstructor()