cn.wensiqun.asmsupport.clazz
类 ArrayClass

java.lang.Object
  继承者 cn.wensiqun.asmsupport.clazz.AClass
      继承者 cn.wensiqun.asmsupport.clazz.ArrayClass
所有已实现的接口:
GetGlobalVariabled

public class ArrayClass
extends AClass

数组类型

作者:
温斯群(Joe Wen)

字段摘要
protected  int dim
          indicate the dimension of this class if this class is a array type, otherwise the this dim is -1
 
从类 cn.wensiqun.asmsupport.clazz.AClass 继承的字段
BOOLEAN_ACLASS, BOOLEAN_WRAP_ACLASS, BYTE_ACLASS, BYTE_WRAP_ACLASS, CHAR_ACLASS, CHARACTER_WRAP_ACLASS, CLASS_ACLASS, CLONEABLE_ACLASS, DOUBLE_ACLASS, DOUBLE_WRAP_ACLASS, EXCEPTION_ACLASS, FLOAT_ACLASS, FLOAT_WRAP_ACLASS, INT_ACLASS, INTEGER_WRAP_ACLASS, interfaces, ITERATOR_ACLASS, LONG_ACLASS, LONG_WRAP_ACLASS, mod, name, OBJECT_ACLASS, pkg, SERIALIZABLE_ACLASS, SHORT_ACLASS, SHORT_WRAP_ACLASS, signature, STRING_ACLASS, superClass, THROWABLE_ACLASS, type, version, VOID_ACLASS
 
方法摘要
 boolean existStaticInitBlock()
           
 int getCastOrder()
          返回类型转换优先级顺序
 String getDescription()
           
 int getDimension()
          如果当前Class是数组返回当前数组的维度
 GlobalVariable getGlobalVariable(String name)
          get global variable name
 GlobalVariableEntity getGlobalVariableEntity(String name)
           
 AClass getNextDimType()
          获取下一维的类型
 AClass getRootComponentClass()
          获取数组的最基本类型
 boolean isArray()
          判断当前Class是否是数组
 boolean isPrimitive()
           
 String toString()
           
 
从类 cn.wensiqun.asmsupport.clazz.AClass 继承的方法
availableConstructor, availableMethod, equals, getDefaultValue, getInterfaces, getModifiers, getName, getPackage, getSuperClass, getSuperConstructor, getSuperMethod, getType, getVersion, isAbstract, isChildOrEqual, isInterface
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

dim

protected int dim
indicate the dimension of this class if this class is a array type, otherwise the this dim is -1

方法详细信息

existStaticInitBlock

public boolean existStaticInitBlock()
指定者:
AClass 中的 existStaticInitBlock

getDescription

public String getDescription()
指定者:
AClass 中的 getDescription

getGlobalVariable

public GlobalVariable getGlobalVariable(String name)
从接口 GetGlobalVariabled 复制的描述
get global variable name

返回:

isArray

public boolean isArray()
从类 AClass 复制的描述
判断当前Class是否是数组

指定者:
AClass 中的 isArray
返回:
如果当前Class是数组返回true, 否则返回false

getDimension

public int getDimension()
从类 AClass 复制的描述
如果当前Class是数组返回当前数组的维度

指定者:
AClass 中的 getDimension
返回:
如果当前Class是数组返回当前数组的维度, 否则返回-1

getGlobalVariableEntity

public GlobalVariableEntity getGlobalVariableEntity(String name)
指定者:
AClass 中的 getGlobalVariableEntity

isPrimitive

public boolean isPrimitive()
指定者:
AClass 中的 isPrimitive
返回:

getCastOrder

public int getCastOrder()
从类 AClass 复制的描述
返回类型转换优先级顺序

指定者:
AClass 中的 getCastOrder
返回:

getNextDimType

public AClass getNextDimType()
获取下一维的类型

返回:

getRootComponentClass

public AClass getRootComponentClass()
获取数组的最基本类型

返回:

toString

public String toString()
覆盖:
AClass 中的 toString


Copyright © 2013. All Rights Reserved.