1 8 package org.codehaus.aspectwerkz.joinpoint.impl; 9 10 import org.codehaus.aspectwerkz.joinpoint.Rtti; 11 12 13 18 public class StaticInitializationRttiImpl implements Rtti { 19 private final StaticInitializerSignatureImpl m_signature; 20 21 26 public StaticInitializationRttiImpl(final StaticInitializerSignatureImpl signature) { 27 m_signature = signature; 28 } 29 30 33 public String getName() { 34 return m_signature.getName(); 35 } 36 37 40 public Object getTarget() { 41 return null; 42 } 43 44 47 public Object getThis() { 48 return null; 49 } 50 51 54 public Class getDeclaringType() { 55 return m_signature.getDeclaringType(); 56 } 57 58 61 public int getModifiers() { 62 return m_signature.getModifiers(); 63 } 64 65 68 public Rtti cloneFor(Object targetInstance, Object thisInstance) { 69 return new StaticInitializationRttiImpl(m_signature); 70 } 71 72 } 73 | Popular Tags |