| Package | Description |
|---|---|
| org.jboss.forge.roaster.model | |
| org.jboss.forge.roaster.model.source |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Method<O extends JavaType<O>,T extends Method<O,T>>
Represents a Java Method.
|
| Modifier and Type | Method and Description |
|---|---|
Method<O,?> |
Property.getAccessor()
Get this property's accessor method.
|
Method<O,?> |
MethodHolder.getMethod(String name)
Return the
Method with the given name and zero parameters; otherwise return null. |
Method<O,?> |
MethodHolder.getMethod(String name,
Class<?>... paramTypes)
Return the
Method with the given name and signature types; otherwise return null. |
Method<O,?> |
MethodHolder.getMethod(String name,
String... paramTypes)
Return the
Method with the given name and signature types; otherwise return null. |
Method<O,?> |
Property.getMutator()
Get this property's mutator method.
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends Method<O,?>> |
MethodHolder.getMethods()
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
MethodHolder.hasMethod(Method<O,?> name)
Return true if this
O has a method with the given name and zero parameters; otherwise return false. |
boolean |
MethodHolder.hasMethodSignature(Method<?,?> method)
Return true if this
O has a method with signature matching the given method's signature. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MethodSource<O extends JavaSource<O>>
Represents a Java Method in source form.
|
| Modifier and Type | Method and Description |
|---|---|
MethodSource<O> |
MethodHolderSource.addMethod(Method<?,?> method)
Add a new
MethodSource declaration to this O instance, using the given Method as the
method declaration. |
O |
MethodHolderSource.removeMethod(Method<O,?> method)
Remove the given
MethodSource declaration from this O instance, if it exists; otherwise, do
nothing. |
Copyright © 2017 JBoss by Red Hat. All rights reserved.