Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.sequencer.java.metadata
Class MethodMetadata

    java.lang.Object
      org.modeshape.sequencer.java.metadata.MethodMetadata

Direct Known Subclasses:
  ConstructorMetadata, MethodTypeMemberMetadata

    public abstract class MethodMetadata

extends Object

Represent the `MethodMetadata`

Constructor Summary
`MethodMetadata()`

Method Summary
`List<AnnotationMetadata>` | `getAnnotations()`
`String` | `getId()`
`List<ModifierMetadata>` | `getModifiers()`
`String` | `getName()`
`List<FieldMetadata>` | `getParameters()`
`List<String>` | `getParameterTypes()`
`FieldMetadata` | `getReturnType()`
`String` | `getReturnTypeName()`
`boolean` | `hasModifierNamed(String modifierName)`
`abstract boolean` | `isContructor()`
`void` | `setModifiers(List<ModifierMetadata> modifiers)`
`void` | `setName(String name)`
`void` | `setParameters(List<FieldMetadata> parameters)`
`void` | `setReturnType(FieldMetadata returnType)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MethodMetadata

    public MethodMetadata()

Method Detail

### isContructor

    public abstract boolean isContructor()

### getAnnotations

    public List<AnnotationMetadata> getAnnotations()

### getName

    public String getName()

  Returns:
    name

### setName

    public void setName(String name)

  Parameters:
    `name` - Sets name to the specified value.

### getModifiers

    public List<ModifierMetadata> getModifiers()

  Returns:
    modifiers

### setModifiers

    public void setModifiers(List<ModifierMetadata> modifiers)

  Parameters:
    `modifiers` - Sets modifiers to the specified value.

### hasModifierNamed

    public boolean hasModifierNamed(String modifierName)

  Parameters:
    `modifierName` - the name of the modifier to check for
  Returns:
    true if the type has a modifier of that name, otherwise false

### getParameters

    public List<FieldMetadata> getParameters()

  Returns:
    parameters

### getParameterTypes

    public List<String> getParameterTypes()

  Returns:
    parameters

### setParameters

    public void setParameters(List<FieldMetadata> parameters)

  Parameters:
    `parameters` - Sets parameters to the specified value.

### getReturnType

    public FieldMetadata getReturnType()

  Returns:
    returnType

### getReturnTypeName

    public String getReturnTypeName()

### setReturnType

    public void setReturnType(FieldMetadata returnType)

  Parameters:
    `returnType` - Sets returnType to the specified value.

### getId

    public String getId()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.