| Package | Description |
|---|---|
| org.apache.isis.core.commons.lang |
This package holds a small number of classes to extend the JDK.
|
| org.apache.isis.core.metamodel.facetapi | |
| org.apache.isis.core.metamodel.facets | |
| org.apache.isis.core.metamodel.methodutils | |
| org.apache.isis.core.progmodel.facets |
| Modifier and Type | Method and Description |
|---|---|
static int |
MethodUtil.findMethodIndex(List<Method> methods,
MethodScope methodScope,
String name,
Class<?> returnType,
Class<?>[] paramTypes)
Searches the supplied array of methods for specific method and returns
its index, otherwise returns -1.
|
static boolean |
MethodUtil.inScope(Method extendee,
MethodScope methodScope) |
static Method |
MethodUtil.removeMethod(List<Method> methods,
MethodScope methodScope,
String name,
Class<?> returnType,
Class<?>[] paramTypes)
Searches the supplied array of methods for specific method and returns
it, also removing it from supplied array if found (by setting to
null).
|
static List<Method> |
MethodUtil.removeMethods(List<Method> methods,
MethodScope forClass,
String prefix,
Class<?> returnType,
boolean canBeVoid,
int paramCount)
Searches the supplied array of methods for all specific methods and
returns them, also removing them from supplied array if found.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MethodRemover.removeMethod(MethodScope methodScope,
String methodName,
Class<?> returnType,
Class<?>[] parameterTypes)
Locate all methods (that the implementation should somehow know about)
that match the criteria and remove them from the implementation's list so
that they are not considered for subsequent scans.
|
List<Method> |
MethodRemover.removeMethods(MethodScope methodScope,
String prefix,
Class<?> returnType,
boolean canBeVoid,
int paramCount)
Locate all methods (that the implementation should somehow know about)
that match the criteria and remove them from the implementation's list so
that they are not considered for subsequent scans.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FacetFactory.ProcessClassContext.removeMethod(MethodScope methodScope,
String methodName,
Class<?> returnType,
Class<?>[] parameterTypes) |
void |
FacetFactory.ProcessMethodContext.removeMethod(MethodScope methodScope,
String methodName,
Class<?> returnType,
Class<?>[] parameterTypes) |
List<Method> |
FacetFactory.ProcessClassContext.removeMethods(MethodScope methodScope,
String prefix,
Class<?> returnType,
boolean canBeVoid,
int paramCount) |
List<Method> |
FacetFactory.ProcessMethodContext.removeMethods(MethodScope methodScope,
String prefix,
Class<?> returnType,
boolean canBeVoid,
int paramCount) |
| Modifier and Type | Method and Description |
|---|---|
static MethodScope |
MethodScope.scopeFor(Method method) |
static MethodScope |
MethodScope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodScope[] |
MethodScope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
MethodFinderUtils.doesNotMatchScope(MethodScope methodScope,
Method method) |
static Method |
MethodFinderUtils.findMethod(Class<?> type,
MethodScope methodScope,
String name,
Class<?> returnType) |
static Method |
MethodFinderUtils.findMethod(Class<?> type,
MethodScope methodScope,
String name,
Class<?> returnType,
Class<?>[] paramTypes)
Returns a specific public methods that: have the specified prefix; have
the specified return type (or some subtype), and has the
specified number of parameters.
|
static List<Method> |
MethodFinderUtils.findMethodsWithAnnotation(Class<?> type,
MethodScope methodScope,
Class<? extends Annotation> annotationClass) |
static Method |
MethodFinderUtils.findMethodWithOrWithoutParameters(Class<?> type,
MethodScope classMethod,
String name,
Class<?> returnType,
Class<?>[] paramTypes) |
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.