List of usage examples for org.objectweb.asm Type hashCode
@Override public int hashCode()
From source file:com.sun.fortress.repository.ForeignJava.java
License:Open Source License
private long subsetHash(org.objectweb.asm.Type t, ClassNode cn) { long h = t.hashCode(); BASet<MethodNode> methods = new BASet<MethodNode>(methodNodeComparator, cn.methods); for (MethodNode m : methods) { int access = m.access; if (isPublic(access)) { if (isStatic(access)) { h = h * MagicNumbers.s;//from ww w.j av a 2 s . co m } Type rt = returnType(m); h = MagicNumbers.hashStepLong(h, MagicNumbers.M, rt.hashCode()); Type[] pts = argumentTypes(m); h = MagicNumbers.hashArrayLong(pts, h); } } return h; }