@Override public MethodData getMethodData() { return delegate.getMethodData(); //To change body of overridden methods use File | Settings | File Templates. }
@Override public MethodData getMethodData() { return delegate.getMethodData(); //To change body of overridden methods use File | Settings | File Templates. }
@Override public MethodData getMethodData() { return delegate.getMethodData(); //To change body of overridden methods use File | Settings | File Templates. }
@Override public MethodData getMethodData() { return delegate.getMethodData(); //To change body of overridden methods use File | Settings | File Templates. }
public Set<String> discoverInstanceVariables() { HashSet<String> set = new HashSet(); RubyModule cls = this; while (cls != null) { for (DynamicMethod method : cls.getNonIncludedClass().getMethods().values()) { MethodData methodData = method.getMethodData(); set.addAll(methodData.getIvarNames()); } if (cls instanceof RubyClass) { cls = ((RubyClass)cls).getSuperClass(); } else { break; } } return set; }
public Set<String> discoverInstanceVariables() { HashSet<String> set = new HashSet(); RubyModule cls = this; while (cls != null) { for (DynamicMethod method : cls.getNonIncludedClass().getMethods().values()) { MethodData methodData = method.getMethodData(); set.addAll(methodData.getIvarNames()); } if (cls instanceof RubyClass) { cls = ((RubyClass)cls).getSuperClass(); } else { break; } } return set; }
public Set<String> discoverInstanceVariables() { HashSet<String> set = new HashSet(); RubyModule cls = this; while (cls != null) { for (DynamicMethod method : cls.getNonIncludedClass().getMethodLocation().getMethods().values()) { MethodData methodData = method.getMethodData(); set.addAll(methodData.getIvarNames()); } if (cls instanceof RubyClass) { cls = ((RubyClass)cls).getSuperClass(); } else { break; } } return set; }
public Set<String> discoverInstanceVariables() { HashSet<String> set = new HashSet(); RubyModule cls = this; while (cls != null) { for (DynamicMethod method : cls.getNonIncludedClass().getMethodLocation().getMethods().values()) { MethodData methodData = method.getMethodData(); set.addAll(methodData.getIvarNames()); } if (cls instanceof RubyClass) { cls = ((RubyClass)cls).getSuperClass(); } else { break; } } return set; }