/** * @return the descriptor component of this member reference */ public final Descriptor getDescriptor() { return selector.getDescriptor(); }
/** * @return the descriptor component of this member reference */ public final Descriptor getDescriptor() { return selector.getDescriptor(); }
@Override public Descriptor getDescriptor() { return method.getSelector().getDescriptor(); } /** BEGIN Custom change: : precise bytecode positions */
@Override public Descriptor getDescriptor() { return method.getSelector().getDescriptor(); } /** BEGIN Custom change: : precise bytecode positions */
/** * Find or create the canonical MethodReference instance for the given tuple. * * @param tref the type reference * @param selector the selector for the method * @throws IllegalArgumentException if selector is null */ public static synchronized MethodReference findOrCreate(TypeReference tref, Selector selector) { if (selector == null) { throw new IllegalArgumentException("selector is null"); } return findOrCreate(tref, selector.getName(), selector.getDescriptor()); }
/** * Find or create the canonical MethodReference instance for the given tuple. * * @param tref the type reference * @param selector the selector for the method * @throws IllegalArgumentException if selector is null */ public static synchronized MethodReference findOrCreate(TypeReference tref, Selector selector) { if (selector == null) { throw new IllegalArgumentException("selector is null"); } return findOrCreate(tref, selector.getName(), selector.getDescriptor()); }