JBoss Logging I18n Tools 1.0.0.Beta7

org.jboss.logging.generator
Class MethodDescriptors

java.lang.Object
  extended by org.jboss.logging.generator.MethodDescriptors
All Implemented Interfaces:
Iterable<MethodDescriptor>

public class MethodDescriptors
extends Object
implements Iterable<MethodDescriptor>

Date: 13.05.2011

Author:
James R. Perkins

Field Summary
protected  Elements elementUtil
           
protected  Types typeUtil
           
 
Method Summary
protected  void add(MethodDescriptor methodDescriptor)
           
protected  Collection<MethodDescriptor> find(String methodName)
          Returns a collection of method descriptors that match the method name.
protected  boolean isOverloaded(ExecutableElement method)
           
 Iterator<MethodDescriptor> iterator()
           
static MethodDescriptors of(Elements elementUtil, Types typeUtil, Collection<ExecutableElement> methods)
           
protected  void update(MethodDescriptor methodDescriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elementUtil

protected final Elements elementUtil

typeUtil

protected final Types typeUtil
Method Detail

of

public static MethodDescriptors of(Elements elementUtil,
                                   Types typeUtil,
                                   Collection<ExecutableElement> methods)

isOverloaded

protected boolean isOverloaded(ExecutableElement method)

add

protected void add(MethodDescriptor methodDescriptor)

update

protected void update(MethodDescriptor methodDescriptor)

find

protected Collection<MethodDescriptor> find(String methodName)
Returns a collection of method descriptors that match the method name.

Parameters:
methodName - the method name to search for.
Returns:
a collection of method descriptors that match the method name.

iterator

public Iterator<MethodDescriptor> iterator()
Specified by:
iterator in interface Iterable<MethodDescriptor>

JBoss Logging I18n Tools 1.0.0.Beta7

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.