org.apache.cayenne.modeler.util.CodeValidationUtil.class Maven / Gradle / Ivy
???? 1 _
4 5
6 7
8
9
: ;
<
=
6 >
? @ A B
4 C
D
E
<
F
G
? H I J K ()V Code LineNumberTable LocalVariableTable this 4Lorg/apache/cayenne/modeler/util/CodeValidationUtil; validationMessage 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; attribute Ljava/lang/String; message buffer Ljava/lang/StringBuffer; validateJavaIdentifier i(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cayenne/validation/ValidationFailure; i I bean Ljava/lang/Object;
identifier emptyFailure 1Lorg/apache/cayenne/validation/ValidationFailure; c C
SourceFile CodeValidationUtil.java java/lang/StringBuffer L M N O P Q P R " S T U ( V W X Y Z 3org/apache/cayenne/validation/BeanValidationFailure java/lang/StringBuilder starts with invalid character: P [ P \ ! ] ^ Z contains invalid character: 2org/apache/cayenne/modeler/util/CodeValidationUtil java/lang/Object java/lang/String length ()I (I)V append (C)Ljava/lang/StringBuffer; ,(Ljava/lang/String;)Ljava/lang/StringBuffer; toString ()Ljava/lang/String; validateNotEmpty charAt (I)C java/lang/Character isJavaIdentifierStart (C)Z -(Ljava/lang/String;)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; 9(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V isJavaIdentifierPart ! / *? ?
! r ,? Y+? *? ``? M,"? *? ? +? W,? ? ' , " # , $ # % &