1 18 19 package org.objectweb.jac.core; 20 21 import org.objectweb.jac.core.rtti.ClassRepository; 22 import org.objectweb.jac.core.rtti.MethodItem; 23 import java.io.Serializable ; 24 25 26 28 29 class SerializedMethodItem implements Serializable { 30 String className; 31 String methodSignature; 32 33 public SerializedMethodItem(MethodItem method) { 34 className = method.getParent().getName(); 35 methodSignature = method.getFullName(); 36 } 37 38 public MethodItem getMethod() { 39 return ClassRepository.get().getClass(className) 40 .getMethod(methodSignature); 41 } 42 } 43 44 | Popular Tags |