public List<MetaMethod> getMethods() { return delegate.getMethods(); }
@Override public List<MetaMethod> getMethods() { final Object owner = getOwner(); final MetaClass ownerMetaClass = getOwnerMetaClass(owner); return ownerMetaClass.getMethods(); }
List<MetaMethod> methods = new ArrayList<MetaMethod>(ci.getMetaClass().getMethods()); methods.addAll(ci.getMetaClass().getMetaMethods()); List<MetaMethod> sugg = rankMethods(methodName,arguments,methods);
for (MetaMethod method : metaClass.getMethods()) { final int mod = method.getModifiers();
public List getMethods() { return delegate.getMethods(); }
public List<MetaMethod> getMethods() { return delegate.getMethods(); }
public List getMethods() { return delegate.getMethods(); }
public List getMethods() { return adaptee.getMethods(); }
public List<MetaMethod> getMethods() { return delegate.getMethods(); }
public List getMethods() { final Object owner = getOwner(); final MetaClass ownerMetaClass = getOwnerMetaClass(owner); return ownerMetaClass.getMethods(); }
@Override public List<MetaMethod> getMethods() { final Object owner = getOwner(); final MetaClass ownerMetaClass = getOwnerMetaClass(owner); return ownerMetaClass.getMethods(); }
@Override public List<MetaMethod> getMethods() { final Object owner = getOwner(); final MetaClass ownerMetaClass = getOwnerMetaClass(owner); return ownerMetaClass.getMethods(); }
@Nullable private MetaMethod findMethodMissingMethod(MetaClass metaClass) { if (metaClass instanceof MetaClassImpl) { // Reach into meta class to avoid lookup try { return (MetaMethod) MISSING_METHOD_METHOD.get(metaClass); } catch (IllegalAccessException e) { throw UncheckedException.throwAsUncheckedException(e); } } // Query the declared methods of the meta class for (MetaMethod method : metaClass.getMethods()) { if (method.getName().equals("methodMissing") && method.getParameterTypes().length == 2) { return method; } } return null; }
@Nullable private MetaMethod findGetPropertyMissingMethod(MetaClass metaClass) { if (metaClass instanceof MetaClassImpl) { // Reach into meta class to avoid lookup try { return (MetaMethod) MISSING_PROPERTY_GET_METHOD.get(metaClass); } catch (IllegalAccessException e) { throw UncheckedException.throwAsUncheckedException(e); } } // Query the declared methods of the meta class for (MetaMethod method : metaClass.getMethods()) { if (method.getName().equals("propertyMissing") && method.getParameterTypes().length == 1) { return method; } } return null; }
@Nullable private MetaMethod findSetPropertyMissingMethod(MetaClass metaClass) { if (metaClass instanceof MetaClassImpl) { // Reach into meta class to avoid lookup try { return (MetaMethod) MISSING_PROPERTY_SET_METHOD.get(metaClass); } catch (IllegalAccessException e) { throw UncheckedException.throwAsUncheckedException(e); } } // Query the declared methods of the meta class for (MetaMethod method : metaClass.getMethods()) { if (method.getName().equals("propertyMissing") && method.getParameterTypes().length == 2) { return method; } } return null; }
List<MetaMethod> methods = new ArrayList<MetaMethod>(ci.getMetaClass().getMethods()); methods.addAll(ci.getMetaClass().getMetaMethods()); List<MetaMethod> sugg = rankMethods(methodName,arguments,methods);
for (MetaMethod method : (List<MetaMethod>)metaClass.getMethods()) { final int mod = method.getModifiers();
for (MetaMethod method : metaClass.getMethods()) { final int mod = method.getModifiers();
for (MetaMethod method : (List<MetaMethod>)metaClass.getMethods()) { final int mod = method.getModifiers();