JBoss Reflection 2.2.1.SP1

org.jboss.reflect.plugins.bytecode
Class SignatureKey

java.lang.Object
  extended by org.jboss.reflect.plugins.bytecode.SignatureKey

public class SignatureKey
extends Object

SignatureKey.

Version:
$Revision$
Author:
Adrian Brock, Kabir Khan

Constructor Summary
SignatureKey(String name)
          Create a new SignatureKey.
SignatureKey(String name, BehaviourBytes behavior)
          Create a new SignatureKey.
SignatureKey(String name, TypeInfo... typeInfos)
          Create a new SignatureKey.
 
Method Summary
 boolean equals(Object obj)
           
static String getFieldType(FieldBytes field)
           
 String getName()
           
 String[] getParams()
           
static String getReturnType(BehaviourBytes behavior)
           
 int hashCode()
           
 boolean isDouble(int i)
           
 boolean isLong(int i)
           
static boolean isPrimitive(String param)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SignatureKey

public SignatureKey(String name)
Create a new SignatureKey.

Parameters:
name - the name
typeInfos - the type infos

SignatureKey

public SignatureKey(String name,
                    TypeInfo... typeInfos)
Create a new SignatureKey.

Parameters:
name - the name
typeInfos - the type infos

SignatureKey

public SignatureKey(String name,
                    BehaviourBytes behavior)
Create a new SignatureKey.

Parameters:
name - the name
behavior -
Method Detail

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getName

public String getName()

getReturnType

public static String getReturnType(BehaviourBytes behavior)

getFieldType

public static String getFieldType(FieldBytes field)

getParams

public String[] getParams()

isDouble

public boolean isDouble(int i)

isLong

public boolean isLong(int i)

isPrimitive

public static boolean isPrimitive(String param)

JBoss Reflection 2.2.1.SP1

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