sample_instanceof.java sample_process.java sample_runtime.java sample_transient_objectStream.java sample_volatile.java set_private_static_final.snippet smart_card_new.txt swing_example.java xml-xpath-flyway-location.groovy README.md java-code-example collection of java-code written by...
instanceFieldRef test1/field1; // 7 virtualMethodRef test1/method1()V; // 8 superMethodRef test9/equals(Ljava/lang/Object;)Z; // 9 staticFieldRef test1/field0; // 10 staticMethodRef test1/method3()V; // 11 } /* * The class directive declares a class within the Class Component * ...
public boolean equals(Object other) { if (this == other) { return true; } if (other instanceof LinearConstraint) { LinearConstraint rhs = (LinearConstraint) other; return relationship == rhs.relationship && value == rhs.value && coefficients.equals(rhs.coefficients); } ...
StringUtils.equals(namespace, currentNamespace)) {if(renderingContextinstanceofMutableRenderingContext) {// Make the current velocity template id available((MutableRenderingContext) renderingContext).push(renderingContext.getTransformation(), renderingContext.getXDOM(), renderingContext.getDefaultSyntax(), ...
if ($this->getAnalyzer() instanceof TokenAnalyser) { $this->markTestSkipped(); } $this->skipLegacy(); $analysis = $this->analysisFromFixtures(['PHP/Php8PromotedProperties.php']); $schemas = $analysis->getAnnotationsOfType(OA\Schema::class, true); Expand Down 17 changes: 17 additions...
if (e instanceof SQLException) SQLExceptionPrint((SQLException)e); else { System.out.println("A non-SQL error occurred."); e.printStackTrace(); } System.exit(1); } /** * Iterate through a stack of SQLExceptions. * * @param sqle a SQLException ...
* Creates an instance of this class using the data found in the shared state * of the login module stack. * * @param * sharedState * The shared state received by the mapping module from the framework. * * @throws * IllegalStateException * No SAML authentication data found in shared...
public boolean equals(Object other) { if (this == other) { return true; } if (other instanceof DerivativeStructure) { final DerivativeStructure rhs = (DerivativeStructure)other; return (getFreeParameters() == rhs.getFreeParameters()) && ...
(entry.getKey()).append(assignment).append('\"'); Object value = entry.getValue(); if (value instanceof String[]) { String[] strings = (String[]) value; for (int i = 0; i < strings.length; i++) { if (i != 0) manifest.append(','); manifest.append(strings[i]); }//...
|| value instanceof java.lang.Long || value instanceof java.lang.Float || value instanceof java.lang.Double || value instanceof java.lang.Void) { return true; } return false; } @VisibleForTesting boolean isStringLiteral(String value) { ...