@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasClassName()) { hash = (37 * hash) + CLASSNAME_FIELD_NUMBER; hash = (53 * hash) + getClassName().hashCode(); } if (hasMethodName()) { hash = (37 * hash) + METHODNAME_FIELD_NUMBER; hash = (53 * hash) + getMethodName().hashCode(); } if (hasReturnClass()) { hash = (37 * hash) + RETURNCLASS_FIELD_NUMBER; hash = (53 * hash) + getReturnClass().hashCode(); } if (getParamClassesCount() > 0) { hash = (37 * hash) + PARAMCLASSES_FIELD_NUMBER; hash = (53 * hash) + getParamClassesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
public StaticMethodInvocationDesc(StaticMethodInvocationDescProto proto) { try { baseClassName = Class.forName(proto.getClassName()); methodName = proto.getMethodName(); returnClass = ClassUtil.forName(proto.getReturnClass()); paramClasses = new Class[proto.getParamClassesCount()]; for (int i = 0; i < proto.getParamClassesCount(); i++) { paramClasses[i] = ClassUtil.forName(proto.getParamClasses(i)); } } catch (ClassNotFoundException e) { throw new RuntimeException(e); } }
public StaticMethodInvocationDesc(StaticMethodInvocationDescProto proto) { try { baseClassName = Class.forName(proto.getClassName()); methodName = proto.getMethodName(); returnClass = ClassUtil.forName(proto.getReturnClass()); paramClasses = new Class[proto.getParamClassesCount()]; for (int i = 0; i < proto.getParamClassesCount(); i++) { paramClasses[i] = ClassUtil.forName(proto.getParamClasses(i)); } } catch (ClassNotFoundException e) { throw new RuntimeException(e); } }
result = result && getReturnClass() .equals(other.getReturnClass());
/** * <code>required string returnClass = 3;</code> */ public Builder clearReturnClass() { bitField0_ = (bitField0_ & ~0x00000004); returnClass_ = getDefaultInstance().getReturnClass(); onChanged(); return this; } /**