1 8 package org.codehaus.aspectwerkz.reflect; 9 10 import java.util.Collections ; 11 import java.util.List ; 12 13 import org.codehaus.aspectwerkz.transform.TransformationConstants; 14 import org.objectweb.asm.Constants; 15 16 17 22 public class StaticInitializationInfoImpl implements StaticInitializationInfo { 23 protected ClassInfo m_declaringType; 24 25 public StaticInitializationInfoImpl(final ClassInfo classInfo) { 26 m_declaringType = classInfo; 27 } 28 29 32 public ClassInfo getDeclaringType() { 33 return m_declaringType; 34 } 35 36 39 public String getName() { 40 return TransformationConstants.CLINIT_METHOD_NAME; 41 } 42 43 46 public String getSignature() { 47 return TransformationConstants.CLINIT_METHOD_SIGNATURE; 48 } 49 50 53 public int getModifiers() { 54 return Constants.ACC_STATIC; 55 } 56 57 60 public List getAnnotations() { 61 return Collections.EMPTY_LIST; 62 } 63 64 } 65 | Popular Tags |