org.checkerframework.checker.regex.RegexUtil.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-getopt Show documentation
Show all versions of java-getopt Show documentation
GNU Getopt - Java port, with type annotations
???? 4 ?
X Y Z
[
\
] ^ _
`
a b
c
d
e
f
g
h
i
j k
X l
m n
o p q
r s
] t
u v w x y CheckedPatternSyntaxException InnerClasses ()V Code LineNumberTable LocalVariableTable this .Lorg/checkerframework/checker/regex/RegexUtil; isRegex (Ljava/lang/String;)Z s Ljava/lang/String; RuntimeVisibleAnnotations )Lorg/checkerframework/dataflow/qual/Pure; 8Lorg/checkerframework/framework/qual/EnsuresQualifierIf; result
expression #1 qualifier /Lorg/checkerframework/checker/regex/qual/Regex; (Ljava/lang/String;I)Z p Ljava/util/regex/Pattern; e (Ljava/util/regex/PatternSyntaxException; groups I
StackMapTable _ z (C)Z c C
regexError &(Ljava/lang/String;)Ljava/lang/String; 3Lorg/checkerframework/dataflow/qual/SideEffectFree; RuntimeVisibleTypeAnnotations 5Lorg/checkerframework/checker/nullness/qual/Nullable; '(Ljava/lang/String;I)Ljava/lang/String; actualGroups regexException <(Ljava/lang/String;)Ljava/util/regex/PatternSyntaxException; =(Ljava/lang/String;I)Ljava/util/regex/PatternSyntaxException; pse asRegex { regexErrorMessage ((Ljava/lang/String;II)Ljava/lang/String; expectedGroups
getGroupCount (Ljava/util/regex/Pattern;)I
SourceFile RegexUtil.java # $ java/lang/Error do not instantiate # | * 7 z } ~ &java/util/regex/PatternSyntaxException T U ? ? * + D I Q R ? ? K M # ? O I # ? java/lang/StringBuilder regex " ? ? " has ? ?
groups, but groups are needed. ? ? ? ? ? ? ? ,org/checkerframework/checker/regex/RegexUtil java/lang/Object Jorg/checkerframework/checker/regex/RegexUtil$CheckedPatternSyntaxException java/util/regex/Pattern java/lang/String (Ljava/lang/String;)V compile -(Ljava/lang/String;)Ljava/util/regex/Pattern; java/lang/Character toString (C)Ljava/lang/String;
getMessage ()Ljava/lang/String; ((Ljava/lang/String;Ljava/lang/String;I)V (Ljava/lang/Throwable;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; java/util/regex/Matcher
groupCount ()I 1 # $ % <