Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,4 @@ String toJSON() {
public SourceVersion getSupportedSourceVersion() {
return latestSupported();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,4 @@ private void setDeclaredField(io.microsphere.beans.ConfigurationProperty configu
String declaredFieldName = field.getSimpleName().toString();
configurationProperty.getMetadata().setDeclaredField(declaredFieldName);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ public JavaFileManager getJavaFileManager() {
return processInFiler(filer -> getFieldValue(filer, "fileManager"));
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,4 @@ public void processInResourceWriter(String resourceName, ThrowableConsumer<Write
public static boolean exists(FileObject resource) {
return resource != null && resource.getLastModified() > 0;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ void testResolveMetadataOnEmptySet() {
String json = processor.toJSON();
assertNotNull("[]", json);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ void testSetSourcesOnNoSource() {
visitor.setSources(null, "noSource", null);
assertNotNull(visitor);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ void testGetJavaFileManager() {
JavaFileManager javaFileManager = processor.getJavaFileManager();
assertNotNull(javaFileManager);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,4 @@ void testProcessInResourceOnWriterOnFailed() {
void testExistsOnNull() {
assertFalse(exists(null));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ public List<ConfigurationProperty> load() throws Throwable {
}
return configurationProperties;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@
*/
String[] source() default {};

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@
*/
String description() default "";

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
@Documented
@Retention(RUNTIME)
public @interface Immutable {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
@javax.annotation.Nonnull
@TypeQualifierNickname
public @interface Nonnull {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
@javax.annotation.Nonnull(when = MAYBE)
@TypeQualifierNickname
public @interface Nullable {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@
*/
String value();

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ void testSources() {
assertEquals("environment-variables", ENVIRONMENT_VARIABLES_SOURCE);
assertEquals("application", APPLICATION_SOURCE);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ class ExperimentalTest {
void test() {
assertNull(ExperimentalTest.class.getAnnotation(Experimental.class));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ class ImmutableTest {
void test() {
assertNotNull(ImmutableTest.class.getAnnotation(Immutable.class));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ class NonnullTest {
void test() {
assertNotNull(NonnullTest.class.getAnnotation(Nonnull.class));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ class NullableTest {
void test() {
assertNotNull(NullableTest.class.getAnnotation(Nullable.class));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ void test() {
assertEquals("microsphere-java-core", since.module());
assertEquals("1.0.0", since.value());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,4 @@ public static BeanMetadata of(@Nonnull Class<?> beanClass) throws RuntimeExcepti
return new BeanMetadata(beanClass);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,4 @@ public static BeanProperty of(@Nonnull Object bean, @Nonnull String propertyName
return beanProperty;
});
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -562,4 +562,4 @@ static void addValues(Collection<Object> targetValues, Iterable<?> sourceValues,

private BeanUtils() {
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -354,4 +354,4 @@ public String toString() {
'}';
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ public final String toString() {
sb.append('}');
return sb.toString();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,4 @@ protected final Field getBaseField() {
protected abstract String getURLClassPathClassName();

protected abstract String getUrlsFieldName();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ static Artifact createArtifact(String archiveFileName, URL resourceURL) {
String version = length > 1 ? parts[1] : null;
return create(artifactId, version, resourceURL);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@ public String toString() {
'}';
return sb;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,4 @@ private void removeJdkClassPathURLs(Set<URL> classPathURLs) {
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ public interface ArtifactResourceResolver extends Prioritized {
*/
@Nullable
Artifact resolve(@Nullable URL resourceURL);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,4 @@ static MavenArtifact loadBannedArtifactConfig(String definition) throws IllegalA
return MavenArtifact.create(groupId, artifactId, version);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ protected String getURLClassPathClassName() {
protected String getUrlsFieldName() {
return "urls";
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -230,4 +230,4 @@ private String resolveVersion(Attributes attributes) {
.orElse(null);
return version;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ public String toString() {
'}';
return sb;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ Artifact resolveArtifactMetaInfoInMavenPomProperties(Properties properties,
String version = properties.getProperty(VERSION_PROPERTY_NAME);
return create(groupId, artifactId, version, artifactResourceURL);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ protected String getURLClassPathClassName() {
protected String getUrlsFieldName() {
return "unopenedUrls";
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ public URL[] getURLs(ClassLoader classLoader) {
public boolean removeURL(ClassLoader classLoader, URL url) {
return false;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ public URL[] getURLs(ClassLoader classLoader) {
public boolean removeURL(ClassLoader classLoader, URL url) {
return delegate.removeURL(classLoader, url);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@ protected boolean isArtifactMetadataFile(File directory, File file) {
protected abstract boolean isArtifactMetadata(String relativePath);

protected abstract Artifact resolve(URL resourceURL, InputStream artifactMetadataData, ClassLoader classLoader) throws IOException;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ default boolean initializeLoaders(@Nullable ClassLoader classLoader) {
default int getPriority() {
return MIN_PRIORITY;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,4 @@ public E poll() {
public E peek() {
return peekFirst();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ public String toString() {
}
return stringJoiner.toString();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@ public int search(Object o) {
}
return -1;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -684,4 +684,4 @@ public static <T> Deque<T> emptyDeque() {
private CollectionUtils() {
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ public int hashCode() {
public String toString() {
return key + "=" + value;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@ protected Deque<E> reversed(MethodHandle reversedMethodHandle) {
}
return execute(() -> (Deque<E>) reversedMethodHandle.invokeExact(getDelegate()));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ public final boolean equals(Object obj) {
public final String toString() {
return this.delegate.toString();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@ public String toString() {
public Queue<E> getDelegate() {
return this.delegate;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ public boolean remove(Object o) {
public int size() {
return 0;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ public class EmptyIterable<E> extends IterableAdapter<E> {
public EmptyIterable() {
super(null);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ public class EmptyIterator<E> extends DelegatingIterator<E> {
public EmptyIterator() {
super(emptyIterator());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ public boolean hasNext() {
public E next() {
return enumeration.nextElement();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ public static <E> Enumeration<E> ofEnumeration(E... elements) {

private EnumerationUtils() {
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ public V setValue(V value) {
public static <K, V> ImmutableEntry<K, V> of(K key, V value) {
return new ImmutableEntry<>(key, value);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ public IterableAdapter(Iterator<T> iterator) {
public Iterator<T> iterator() {
return iterator;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ public static boolean equals(Iterator<?> one, Iterator<?> another) {
private Iterators() {
}

}
}
Loading
Loading