/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/reflect/ |
H A D | ReflectUtils.java | 51 * @param m2 Method to compare 55 public static String equalSignatures(Method m1, Method m2) { argument 58 if (!m1.getReturnType().equals(m2.getReturnType())) { 59 sb.append(Strings.get("return_type_mismatch", m1.getReturnType(), m2.getReturnType())); 64 Class<?>[] types2 = m2.getParameterTypes(); 82 sb.append('\n').append(m2.toGenericString());
|
/glassfish-3.1.2/common/common-util/src/test/java/com/sun/enterprise/util/reflect/ |
H A D | ReflectUtilsTest.java | 69 Method m2 = getClass().getDeclaredMethod("met2", String.class, Long.class); 75 String s1 = ReflectUtils.equalSignatures(m1, m2); 78 String s4 = ReflectUtils.equalSignatures(m2, m1); 79 String s5 = ReflectUtils.equalSignatures(m2, m3); 80 String s6 = ReflectUtils.equalSignatures(m2, m4);
|
/glassfish-3.1.2/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/connect/ |
H A D | NodeRunnerSsh.java | 132 String m2 = "";
135 m2 = e2.getMessage();
139 m1, m2));
147 String m2 = "";
150 m2 = e2.getMessage();
154 m1, m2));
|
/glassfish-3.1.2/security/jaspic-provider-framework/src/main/java/com/sun/jaspic/config/factory/ |
H A D | EntryInfo.java | 189 static boolean matchMaps(Map m1, Map m2) { argument 190 if (m1 == null && m2 == null) { 193 if (m1 == null || m2 == null) { 196 return m1.equals(m2);
|
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/ |
H A D | ListUtil.java | 171 final T m2) 176 list.add(m2); 186 final T m2, 192 list.add(m2); 203 final T m2, 210 list.add(m2); 222 final T m2, 230 list.add(m2); 169 newList( final T m1, final T m2) argument 184 newList( final T m1, final T m2, final T m3) argument 201 newList( final T m1, final T m2, final T m3, final T m4) argument 220 newList( final T m1, final T m2, final T m3, final T m4, final T m5) argument
|
H A D | MapUtil.java | 98 final Map<K, V> m2) 106 if (m2 != null) 108 m.putAll(m2); 201 final Map<?, ?> m2) 203 if (m1 == m2) 210 if (m1.size() == m2.size() && 211 m1.keySet().equals(m2.keySet())) 218 final Object value2 = m2.get(key); 96 newMap( final Map<K, V> m1, final Map<K, V> m2) argument 199 mapsEqual( final Map<?, ?> m1, final Map<?, ?> m2) argument
|
H A D | SetUtil.java | 120 final T m2) 125 set.add(m2); 134 final T m2, 140 set.add( m2 ); 148 final T m2, 155 set.add(m2); 118 newSet( final T m1, final T m2) argument 146 newSet( final T m1, final T m2, final T m3, final T m4) argument
|
/glassfish-3.1.2/common/annotation-framework/src/main/java/org/glassfish/apf/impl/ |
H A D | ComponentDefinition.java | 170 Method m2 = mk2.m; 171 if (m.getName().equals(m2.getName()) && Arrays.equals( 172 m.getParameterTypes(), m2.getParameterTypes())) { 174 int modifiers2 = m2.getModifiers();
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/util/ |
H A D | TypeUtil.java | 436 public static boolean sameParamTypes(Method m1, Method m2) { argument 440 Type[] gpm2 = m2.getGenericParameterTypes(); 452 same = m1.getParameterTypes()[i].equals(m2.getParameterTypes()[i]); 475 public static boolean sameMethodSignature(Method m1, Method m2) { argument 478 if(m1.getName().equals(m2.getName())) { 479 same = sameParamTypes(m1, m2) && sameReturnTypes(m1, m2); 488 * @param m2 method 2 492 private static boolean sameReturnTypes(Method m1, Method m2) { argument 493 if(m1.getReturnType().equals(m2 [all...] |
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/ |
H A D | NodeUtils.java | 344 String m2 = ""; 347 m2 = e2.getMessage(); 350 logger.warning(StringUtils.cat(": ", msg, m1, m2, 353 msg, m1, m2)); 391 String m2 = ""; 394 m2 = e2.getMessage(); 397 logger.warning(StringUtils.cat(": ", msg, m1, m2)); 398 throw new CommandValidationException(StringUtils.cat(NL, msg, m1, m2)); 508 String m2 = ""; 511 m2 [all...] |
H A D | UpdateNodeRemoteCommand.java | 181 String m2 = Strings.get("update.node.ssh.not.updated");
182 msg.append(StringUtils.cat(NL, m1, m2, e.getMessage()));
187 String m2 = Strings.get("update.node.ssh.continue.force");
188 msg.append(StringUtils.cat(NL, m1, e.getMessage(), m2));
|
H A D | CreateRemoteNodeCommand.java | 145 String m2 = Strings.get("create.node.ssh.or.dcom.not.created", getType().toString()); 146 msg.append(StringUtils.cat(NL, m1, m2, e.getMessage())); 152 String m2 = Strings.get("create.node.ssh.continue.force"); 153 msg.append(StringUtils.cat(NL, m1, e.getMessage(), m2));
|
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/codegen/ |
H A D | Generator.java | 110 Method m2 = (Method)e.nextElement(); 112 // m1 and m2 are duplicates if they have the same signature 114 if ( !m1.getName().equals(m2.getName()) ) 118 Class[] m2parms = m2.getParameterTypes(); 135 if ( m2.getDeclaringClass().isAssignableFrom( 137 // m2 is a superclass/intf of m1, so replace m2 with m1 138 nodups.remove(m2);
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/entity/cmp2/ |
H A D | SelectMethodExposition.java | 104 Method m2 = getMethod(Class.forName(remote, false, 106 if (m1 == null && m2 == null) {
|
/glassfish-3.1.2/tests/quicklook/persistence/jpavalidation/src/java/ |
H A D | Employee.java | 112 void m2() { method in class:Employee 113 System.out.println("PreUpdate m2() called for Employee" + this);
|
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/base/ |
H A D | ContainerTest.java | 311 final Map<String, T> m2) { 313 final Map<String, ObjectName> t2 = Util.toObjectNames(m2); 321 final Map<String, Map<String, T>> m2) { 324 if (m1.keySet().equals(m2.keySet())) { 328 final Map<String, T> x2 = m2.get(key); 309 mapsEqual( final Map<String, T> m1, final Map<String, T> m2) argument 319 mapsOfMapsEqual( final Map<String, Map<String, T>> m1, final Map<String, Map<String, T>> m2) argument
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/ |
H A D | IASEjbCMPEntityDescriptor.java | 178 private boolean methodsEqual(Method m1, Method m2, argument 184 String m2Name = m2.getName(); 189 String m2DeclaringClass = m2.getDeclaringClass().getName(); 196 Class[] m2ParamTypes = m2.getParameterTypes();
|
H A D | PersistenceDescriptor.java | 247 private boolean methodsEqual(Method m1, Method m2, argument 254 String m2Name = m2.getName(); 259 String m2DeclaringClass = m2.getDeclaringClass().getName(); 266 Class[] m2ParamTypes = m2.getParameterTypes(); 291 private boolean methodsEqual(MethodDescriptor m1, Method m2, argument 295 return methodsEqual(m, m2, compareDeclaringClass);
|