checker.src.org.checkerframework.checker.regex.classic.apache-xerces.astub Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checker Show documentation
Show all versions of checker Show documentation
The Checker Framework enhances Java’s type system to
make it more powerful and useful. This lets software developers
detect and prevent errors in their Java programs.
The Checker Framework includes compiler plug-ins ("checkers")
that find bugs or verify their absence. It also permits you to
write your own compiler plug-ins.
import org.checkerframework.checker.regex.qual.*;
package com.sun.org.apache.xerces.internal.impl.xpath.regex;
public class RegularExpression implements java.io.Serializable {
public RegularExpression(@Regex String regex) throws ParseException;
public RegularExpression(@Regex String regex, String options) throws ParseException;
RegularExpression(@Regex String regex, Token tok, int parens, boolean hasBackReferences, int options);
}
public final class REUtil {
static String stripExtendedComment(String regex); // no @Regex annotation needed
public static boolean matches(@Regex String regex, String target) throws ParseException;
public static boolean matches(@Regex String regex, String options, String target) throws ParseException;
}
class RegexParser {
synchronized Token parse(@Regex String regex, int options) throws ParseException;
public RegularExpression createRegex(@Regex String regex, int options) throws ParseException;
}