public static class AggregatedMethodMetaData.Builder extends Object
AggregatedMethodMetaData
instances.Constructor and Description |
---|
AggregatedMethodMetaData.Builder(MethodMetaData metaData)
Creates a new builder based on the given method meta data.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(MethodMetaData metaData)
Whether the given method can be added to this builder or not.
|
void |
addMetaData(MethodMetaData metaData)
Adds the given method to this builder.
|
AggregatedMethodMetaData |
build()
Creates a new, read-only
AggregatedMethodMetaData object from
this builder. |
public AggregatedMethodMetaData.Builder(MethodMetaData metaData)
metaData
- The base method for this builder. This is the lowest
method with a given signature within a type hierarchy.public boolean accepts(MethodMetaData metaData)
metaData
- The method of interest.True
, if the given method can be added to this
builder, false
otherwise.public void addMetaData(MethodMetaData metaData)
accepts(MethodMetaData)
before, whether this is allowed or
not.metaData
- The meta data to add.public AggregatedMethodMetaData build()
AggregatedMethodMetaData
object from
this builder.AggregatedMethodMetaData
objectCopyright © 2012 JBoss by Red Hat. All Rights Reserved.