1 4 package com.tc.aspectwerkz.reflect; 5 6 import com.tc.aspectwerkz.transform.TransformationConstants; 7 import com.tc.backport175.bytecode.AnnotationElement; 8 import com.tc.asm.Opcodes; 9 10 11 16 public class StaticInitializationInfoImpl implements StaticInitializationInfo { 17 protected ClassInfo m_declaringType; 18 19 public StaticInitializationInfoImpl(final ClassInfo classInfo) { 20 m_declaringType = classInfo; 21 } 22 23 26 public ClassInfo getDeclaringType() { 27 return m_declaringType; 28 } 29 30 33 public String getName() { 34 return TransformationConstants.CLINIT_METHOD_NAME; 35 } 36 37 40 public String getSignature() { 41 return TransformationConstants.CLINIT_METHOD_SIGNATURE; 42 } 43 44 public String getGenericsSignature() { 45 return null; 46 } 47 48 51 public int getModifiers() { 52 return Opcodes.ACC_STATIC; 53 } 54 55 58 public AnnotationElement.Annotation[] getAnnotations() { 59 return ClassInfo.EMPTY_ANNOTATION_ARRAY; 60 } 61 62 } 63 | Popular Tags |