JBoss Logging I18n Tools 1.0.0.Beta7

org.jboss.logging.generator
Class MethodParameter

java.lang.Object
  extended by org.jboss.logging.generator.MethodParameter
All Implemented Interfaces:
Comparable<MethodParameter>

public final class MethodParameter
extends Object
implements Comparable<MethodParameter>

Author:
James R. Perkins - 20.Feb.2011

Method Summary
 int compareTo(MethodParameter other)
           
 boolean equals(Object obj)
           
 String fullType()
          The full type name of the parameter.
 String getFormatterClass()
          The formatter class, or null if there is none.
 int hashCode()
           
 boolean isCause()
          Checks the parameter and returns true if this is a cause parameter, otherwise false.
 String name()
          The variable name of the parameter.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isCause

public boolean isCause()
Checks the parameter and returns true if this is a cause parameter, otherwise false.

Returns:
true if the parameter is annotated with Annotations.cause(), otherwise false.

fullType

public String fullType()
The full type name of the parameter. For example java.lang.String if the parameter is a string. If the parameter is a primitive, the primitive name is returned.

Returns:
the qualified type of the parameter.

getFormatterClass

public String getFormatterClass()
The formatter class, or null if there is none.

Returns:
the formatter class

name

public String name()
The variable name of the parameter.

Returns:
the variable name of the parameter.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

compareTo

public int compareTo(MethodParameter other)
Specified by:
compareTo in interface Comparable<MethodParameter>

JBoss Logging I18n Tools 1.0.0.Beta7

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