All Downloads are FREE. Search and download functionalities are using the official Maven repository.

checker.src.org.checkerframework.checker.regex.classic.apache-xerces.astub Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 3.42.0
Show newest version
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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy