public static class FacetFactory.ProcessClassContext extends FacetFactory.AbstractProcessContext<FacetHolder> implements MethodRemover, FacetFactory.ProcessContextWithMetadataProperties<FacetHolder>
| Constructor and Description |
|---|
FacetFactory.ProcessClassContext(Class<?> cls,
MethodRemover methodRemover,
FacetHolder facetHolder)
For testing only.
|
FacetFactory.ProcessClassContext(Class<?> cls,
Properties metadataProperties,
MethodRemover methodRemover,
FacetHolder facetHolder) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getCls()
The class being processed.
|
Properties |
metadataProperties(String subKey) |
void |
removeMethod(Method method) |
void |
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.
|
void |
removeMethods(List<Method> methods) |
List<Method> |
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.
|
getFacetHolderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFacetHolderpublic FacetFactory.ProcessClassContext(Class<?> cls, MethodRemover methodRemover, FacetHolder facetHolder)
public FacetFactory.ProcessClassContext(Class<?> cls, Properties metadataProperties, MethodRemover methodRemover, FacetHolder facetHolder)
public void removeMethod(Method method)
removeMethod in interface MethodRemoverpublic List<Method> removeMethods(MethodScope methodScope, String prefix, Class<?> returnType, boolean canBeVoid, int paramCount)
MethodRemoverremoveMethods in interface MethodRemovermethodScope - - whether looking for static (class) or
instance-level methods.public void removeMethod(MethodScope methodScope, String methodName, Class<?> returnType, Class<?>[] parameterTypes)
MethodRemoverremoveMethod in interface MethodRemoverpublic void removeMethods(List<Method> methods)
removeMethods in interface MethodRemoverpublic Properties metadataProperties(String subKey)
metadataProperties in interface FacetFactory.ProcessContextWithMetadataProperties<FacetHolder>Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.