hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.graph/.checkstyle_checks.xml
changeset 46459 7d4e637d3f21
parent 43972 1ade39b8381b
child 46509 b32d3928ad6a
equal deleted inserted replaced
46458:3c12af929e7d 46459:7d4e637d3f21
   133     </module>
   133     </module>
   134     <module name="RegexpSinglelineJava">
   134     <module name="RegexpSinglelineJava">
   135       <property name="format" value="new (Hashtable|Vector|Stack|StringBuffer)[^\w]"/>
   135       <property name="format" value="new (Hashtable|Vector|Stack|StringBuffer)[^\w]"/>
   136       <property name="message" value="Don't use old synchronized collection classes"/>
   136       <property name="message" value="Don't use old synchronized collection classes"/>
   137     </module>
   137     </module>
       
   138     <module name="RegexpSinglelineJava">
       
   139       <property name="format" value="instanceof MoveOp"/>
       
   140       <property name="message" value="Do not use `op instanceof MoveOp`. Use `MoveOp.isMoveOp(op)` instead!"/>
       
   141     </module>
       
   142     <module name="RegexpSinglelineJava">
       
   143       <property name="format" value="instanceof ValueMoveOp"/>
       
   144       <property name="message" value="Do not use `op instanceof ValueMoveOp`. Use `ValueMoveOp.isValueMoveOp(op)` instead!"/>
       
   145     </module>
       
   146     <module name="RegexpSinglelineJava">
       
   147       <property name="format" value="instanceof LoadConstantOp"/>
       
   148       <property name="message" value="Do not use `op instanceof LoadConstantOp`. Use `LoadConstantOp.isLoadConstantOp(op)` instead!"/>
       
   149     </module>
       
   150     <module name="RegexpSinglelineJava">
       
   151       <property name="format" value="\(MoveOp\)"/>
       
   152       <property name="message" value="Do not cast directly to `MoveOp`. Use `MoveOp.asMoveOp(op)` instead!"/>
       
   153     </module>
       
   154     <module name="RegexpSinglelineJava">
       
   155       <property name="format" value="\(ValueMoveOp\)"/>
       
   156       <property name="message" value="Do not cast directly to `ValueMoveOp`. Use `ValueMoveOp.asValueMoveOp(op)` instead!"/>
       
   157     </module>
       
   158     <module name="RegexpSinglelineJava">
       
   159       <property name="format" value="\(LoadConstantOp\)"/>
       
   160       <property name="message" value="Do not cast directly to `LoadConstantOp`. Use `LoadConstantOp.asLoadConstantOp(op)` instead!"/>
       
   161     </module>
   138   </module>
   162   </module>
   139   <module name="RegexpHeader">
   163   <module name="RegexpHeader">
   140     <property name="header" value="/\*\n \* Copyright \(c\) (20[0-9][0-9], )?20[0-9][0-9], Oracle and/or its affiliates. All rights reserved.\n \* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n \*\n \* This code is free software; you can redistribute it and/or modify it\n \* under the terms of the GNU General Public License version 2 only, as\n \* published by the Free Software Foundation.\n \*\n \* This code is distributed in the hope that it will be useful, but WITHOUT\n \* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n \* FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License\n \* version 2 for more details \(a copy is included in the LICENSE file that\n \* accompanied this code\).\n \*\n \* You should have received a copy of the GNU General Public License version\n \* 2 along with this work; if not, write to the Free Software Foundation,\n \* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n \*\n \* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA\n \* or visit www.oracle.com if you need additional information or have any\n \* questions.\n \*/\n"/>
   164     <property name="header" value="/\*\n \* Copyright \(c\) (20[0-9][0-9], )?20[0-9][0-9], Oracle and/or its affiliates. All rights reserved.\n \* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n \*\n \* This code is free software; you can redistribute it and/or modify it\n \* under the terms of the GNU General Public License version 2 only, as\n \* published by the Free Software Foundation.\n \*\n \* This code is distributed in the hope that it will be useful, but WITHOUT\n \* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n \* FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License\n \* version 2 for more details \(a copy is included in the LICENSE file that\n \* accompanied this code\).\n \*\n \* You should have received a copy of the GNU General Public License version\n \* 2 along with this work; if not, write to the Free Software Foundation,\n \* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n \*\n \* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA\n \* or visit www.oracle.com if you need additional information or have any\n \* questions.\n \*/\n"/>
   141     <property name="fileExtensions" value="java"/>
   165     <property name="fileExtensions" value="java"/>
   142   </module>
   166   </module>