Refine search
/** * Creates new annotation parsed line. * * @param name name of the annotation; never {@code null} * @param types types of the annotation; can be {@code null} * @param description description of the annotation; can be {@code null} */ public ParsedLine(@NonNull final String name, @NullAllowed final Map<OffsetRange, String> types, @NullAllowed final String description) { this(name, types, description, false); }
ClasspathInfoListener ( @NonNull final ChangeSupport changedSupport, @NullAllowed final Runnable callBack) { assert changedSupport != null; this.changeSupport = changedSupport; this.callBack = callBack; }
@NonNull public static Accessibility fromQuery(@NullAllowed final Boolean accessibilityQueryResult) { if (accessibilityQueryResult == null) { return UNKNOWN; } else if (accessibilityQueryResult) { return EXPORTED; } else { return PRIVATE; } } }
public DiagnosticListenerImpl( @NullAllowed final FileObject root, @NullAllowed final JavaFileObject jfo, @NonNull final ClasspathInfo cpInfo) { this.root = root; this.jfo = jfo; this.cpInfo = cpInfo; this.source2Errors = new HashMap<>(); }
private Result( @NonNull final Status status, @NullAllowed final String message) { this.status = status; this.message = message; }
private CachingArchiveClassLoader( @NonNull final List<Pair<URL,Archive>> archives, @NullAllowed final ClassLoader parent, @NullAllowed final Consumer<? super URL> usedRoots) { super (parent); assert archives != null; this.archives = archives; this.usedRoots = Optional.<Consumer<? super URL>>ofNullable(usedRoots); }
CTSymArchive( @NonNull final File archive, @NullAllowed final String pathToRootInArchive, @NonNull final File ctSym, @NullAllowed final String pathToRootInCtSym) { super(archive, pathToRootInArchive, true); this.ctSym = ctSym; this.pathToRootInCtSym = pathToRootInCtSym; }
protected PhpBaseElement(@NonNull String name, @NullAllowed String fullyQualifiedName, @NullAllowed PhpClass type, @NullAllowed FileObject file, int offset, @NullAllowed String description) { Parameters.notEmpty("name", name); this.name = name; this.fullyQualifiedName = fullyQualifiedName; this.type = type; this.file = file; this.offset = offset; this.description = description; }
/** * Creates new annotation parsed line. * * @param name name of the annotation; never {@code null} * @param description description of the annotation; can be {@code null} */ public ParsedLine(@NonNull final String name, @NullAllowed final String description) { this(name, null, description, false); }
/** * Add new test suite to this test session. * @param name name of the test suite * @param location location of the test suite, can be {@code null} * @return new test suite * @see TestSuite#finish(long) * @since 0.2 */ TestSuite addTestSuite(@NonNull String name, @NullAllowed FileObject location);
/** * Creates new annotation parsed line. * * @param name name of the annotation; never {@code null} * @param types types of the annotation; can be {@code null} */ public ParsedLine(@NonNull final String name, @NullAllowed final Map<OffsetRange, String> types) { this(name, types, null, false); }
@NonNull public static DockerInstance getInstance(@NonNull String url, @NullAllowed String displayName, @NullAllowed File caCertificate, @NullAllowed File certificate, @NullAllowed File key) { return new DockerInstance(url, displayName, caCertificate, certificate, key); }
private Violation( @NonNull final URL root, @NullAllowed final Profile profile, @NullAllowed final URL file, @NullAllowed final ElementHandle<TypeElement> type) { Parameters.notNull("root", root); //NOI18N this.root = root; this.profile = profile; this.file = file; this.type = type; }
protected PrefetchableBase( @NonNull final String pkgName, @NonNull final String name, @NullAllowed final Charset encoding, final boolean caseSensitive) { super(pkgName, name, encoding, caseSensitive); }
/** * Called to extend the given web module and JSF framework with the JSF * component library corresponding to this implementation. * * @param webModule the web module to be extended; never null. * @param jsfComponentCustomizer customizer with JSF component library * settings for given project (web module) * @return the set of newly created files in the web module which should be opened. */ @NonNull Set<FileObject> extend(@NonNull WebModule webModule, @NullAllowed JsfComponentCustomizer jsfComponentCustomizer);
@Override @NonNull JavaFileObject createFileObject( @NonNull final Location location, @NonNull final File file, @NonNull final File root, @NullAllowed final JavaFileFilterImplementation filter, @NullAllowed final Charset encoding) { throw new UnsupportedOperationException ("Create File not supported, read-only."); //NOI18N }
public BasicSourceFileObject ( @NonNull final Handle handle, @NullAllowed final JavaFileFilterImplementation filter, @NullAllowed final CharSequence content, final boolean renderNow) throws IOException { super(handle, filter); this.hasFilter = filter != null; if (content != null || renderNow) { update(content); } }
CachedZipFileObject( @NonNull final ZipFile zipFile, @NullAllowed final String pathToRootInArchive, @NonNull final String folderName, @NonNull final String baseName, final long mtime) { super (pathToRootInArchive, folderName, baseName, mtime); assert zipFile != null : "archiveFile == null"; //NOI18N this.zipFile = zipFile; }
PathArchive( @NonNull final Path root, @NullAllowed final URI rootURI) { assert root != null; this.root = root; this.rootURI = rootURI == null ? null : rootURI.toString(); final String separator = root.getFileSystem().getSeparator(); if (separator.length() != 1) { throw new IllegalArgumentException("Multi character separators are unsupported"); } this.separator = separator.charAt(0); }
private LibraryReference( @NonNull final String classPathId, @NonNull final String rawId, @NullAllowed final Profile requiredProfile, @NonNull final Library lib) { super(classPathId, rawId, requiredProfile); Parameters.notNull("lib", lib); //NOI18N this.lib = lib; }