Skip to content

Commit

Permalink
chore: me.qwqdev to net.legacy.
Browse files Browse the repository at this point in the history
  • Loading branch information
QwQ-dev committed Dec 24, 2024
1 parent 3831488 commit 8c184bb
Show file tree
Hide file tree
Showing 46 changed files with 82 additions and 81 deletions.
8 changes: 4 additions & 4 deletions annotation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ automated annotation processor. This is very useful for repeatedly performing ce
// Dependencies
dependencies {
// annotation module
compileOnly("me.qwqdev.library:annotation:1.0-SNAPSHOT")
compileOnly("net.legacy.library:annotation:1.0-SNAPSHOT")
}
```

Expand Down Expand Up @@ -66,10 +66,10 @@ public class Launcher extends Plugin {

/*
* The package where the Processor of the annotation to be processed is located
* e.g. "me.qwqdev.library.configuration.serialize.annotation.SimplixSerializerSerializableAutoRegister"
* so the package name is "me.qwqdev.library.configuration.serialize.annotation"
* e.g. "annotation.serialize.net.legacy.library.configuration.SimplixSerializerSerializableAutoRegister"
* so the package name is "net.legacy.library.configuration.serialize.annotation"
*/
"me.qwqdev.library.configuration.serialize.annotation"
"net.legacy.library.configuration.serialize.annotation"
);

annotationProcessingService.processAnnotations(
Expand Down
2 changes: 1 addition & 1 deletion annotation/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# annotation
package=me.qwqdev.library.annotation
package=net.legacy.library.annotation
name=annotation
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.annotation;
package net.legacy.library.annotation;

import io.fairyproject.FairyLaunch;
import io.fairyproject.container.InjectableComponent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package me.qwqdev.library.annotation.service;
package net.legacy.library.annotation.service;

import com.google.common.collect.Sets;
import io.fairyproject.container.Containers;
import io.fairyproject.container.InjectableComponent;
import io.fairyproject.log.Log;
import me.qwqdev.library.annotation.utils.AnnotationScanner;
import net.legacy.library.annotation.utils.AnnotationScanner;
import org.reflections.util.ClasspathHelper;

import java.lang.annotation.Annotation;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.annotation.service;
package net.legacy.library.annotation.service;

import java.net.URL;
import java.util.Collection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.annotation.service;
package net.legacy.library.annotation.service;

import java.lang.annotation.Annotation;
import java.lang.annotation.ElementType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.annotation.service;
package net.legacy.library.annotation.service;

/**
* Interface for custom annotation processors.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.annotation.utils;
package net.legacy.library.annotation.utils;

import lombok.experimental.UtilityClass;
import org.reflections.Reflections;
Expand Down
2 changes: 1 addition & 1 deletion cache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The original purpose of this module was to design a L1 cache for the `mongodb` m
// Dependencies
dependencies {
// cache module
compileOnly("me.qwqdev.library:cache:1.0-SNAPSHOT")
compileOnly("net.legacy.library:cache:1.0-SNAPSHOT")
}
```

Expand Down
2 changes: 1 addition & 1 deletion cache/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# cache
package=me.qwqdev.library.cache
package=net.legacy.library.cache
name=cache
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.cache;
package net.legacy.library.cache;

import io.fairyproject.FairyLaunch;
import io.fairyproject.container.InjectableComponent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package me.qwqdev.library.cache.factory;
package net.legacy.library.cache.factory;

import com.github.benmanes.caffeine.cache.AsyncCache;
import com.github.benmanes.caffeine.cache.Cache;
import lombok.experimental.UtilityClass;
import me.qwqdev.library.cache.service.CacheServiceInterface;
import me.qwqdev.library.cache.service.caffeine.CaffeineAsyncCacheService;
import me.qwqdev.library.cache.service.caffeine.CaffeineCacheService;
import me.qwqdev.library.cache.service.redis.RedisCacheService;
import me.qwqdev.library.cache.service.redis.RedisCacheServiceInterface;
import net.legacy.library.cache.service.CacheServiceInterface;
import net.legacy.library.cache.service.caffeine.CaffeineAsyncCacheService;
import net.legacy.library.cache.service.caffeine.CaffeineCacheService;
import net.legacy.library.cache.service.redis.RedisCacheService;
import net.legacy.library.cache.service.redis.RedisCacheServiceInterface;
import org.redisson.config.Config;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.cache.model;
package net.legacy.library.cache.model;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.cache.model;
package net.legacy.library.cache.model;

import lombok.AllArgsConstructor;
import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.cache.model;
package net.legacy.library.cache.model;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package me.qwqdev.library.cache.service;
package net.legacy.library.cache.service;

import me.qwqdev.library.cache.model.LockSettings;
import net.legacy.library.cache.model.LockSettings;

import java.util.concurrent.locks.Lock;
import java.util.function.BiConsumer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package me.qwqdev.library.cache.service;
package net.legacy.library.cache.service;

import lombok.Data;
import me.qwqdev.library.cache.model.LockSettings;
import net.legacy.library.cache.model.LockSettings;

import java.util.concurrent.locks.Lock;
import java.util.function.Function;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package me.qwqdev.library.cache.service;
package net.legacy.library.cache.service;

import me.qwqdev.library.cache.model.LockSettings;
import net.legacy.library.cache.model.LockSettings;

import java.util.concurrent.locks.Lock;
import java.util.function.BiConsumer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package me.qwqdev.library.cache.service;
package net.legacy.library.cache.service;

import me.qwqdev.library.cache.model.LockSettings;
import net.legacy.library.cache.model.LockSettings;

import java.util.concurrent.locks.Lock;
import java.util.function.Function;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package me.qwqdev.library.cache.service.caffeine;
package net.legacy.library.cache.service.caffeine;

import com.github.benmanes.caffeine.cache.AsyncCache;
import com.github.benmanes.caffeine.cache.Caffeine;
import me.qwqdev.library.cache.service.AbstractCacheService;
import me.qwqdev.library.cache.service.CacheServiceInterface;
import net.legacy.library.cache.service.AbstractCacheService;
import net.legacy.library.cache.service.CacheServiceInterface;

/**
* Asynchronous Caffeine cache service implementation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package me.qwqdev.library.cache.service.caffeine;
package net.legacy.library.cache.service.caffeine;

import com.github.benmanes.caffeine.cache.Cache;
import com.github.benmanes.caffeine.cache.Caffeine;
import me.qwqdev.library.cache.service.AbstractCacheService;
import me.qwqdev.library.cache.service.CacheServiceInterface;
import net.legacy.library.cache.service.AbstractCacheService;
import net.legacy.library.cache.service.CacheServiceInterface;

/**
* Synchronous Caffeine cache service implementation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package me.qwqdev.library.cache.service.redis;
package net.legacy.library.cache.service.redis;

import io.fairyproject.log.Log;
import me.qwqdev.library.cache.model.LockSettings;
import me.qwqdev.library.cache.service.AbstractLockableCache;
import net.legacy.library.cache.model.LockSettings;
import net.legacy.library.cache.service.AbstractLockableCache;
import org.redisson.Redisson;
import org.redisson.api.RedissonClient;
import org.redisson.config.Config;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package me.qwqdev.library.cache.service.redis;
package net.legacy.library.cache.service.redis;

import me.qwqdev.library.cache.model.LockSettings;
import me.qwqdev.library.cache.service.CacheServiceInterface;
import net.legacy.library.cache.model.LockSettings;
import net.legacy.library.cache.service.CacheServiceInterface;
import org.redisson.api.RedissonClient;

import java.util.concurrent.locks.Lock;
Expand Down
2 changes: 1 addition & 1 deletion commons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ this document when there's new content.
// Dependencies
dependencies {
// commons module
compileOnly("me.qwqdev.library:commons:1.0-SNAPSHOT")
compileOnly("net.legacy.library:commons:1.0-SNAPSHOT")
}
```

Expand Down
2 changes: 1 addition & 1 deletion commons/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# commons
package=me.qwqdev.library.commons
package=net.legacy.library.commons
name=commons
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.commons;
package net.legacy.library.commons;

import io.fairyproject.FairyLaunch;
import io.fairyproject.container.InjectableComponent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package me.qwqdev.library.commons.factory;
package net.legacy.library.commons.factory;

import lombok.experimental.UtilityClass;
import me.qwqdev.library.commons.injector.StaticInjectorInterface;
import me.qwqdev.library.commons.injector.VarHandleReflectionInjector;
import net.legacy.library.commons.injector.StaticInjectorInterface;
import net.legacy.library.commons.injector.VarHandleReflectionInjector;

/**
* Factory for creating injector instances.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.commons.injector;
package net.legacy.library.commons.injector;

/**
* Interface for object injectors.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.commons.injector;
package net.legacy.library.commons.injector;

/**
* Interface for static injectors.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package me.qwqdev.library.commons.injector;
package net.legacy.library.commons.injector;

import io.fairyproject.container.InjectableComponent;
import me.qwqdev.library.commons.injector.annotation.VarHandleAutoInjection;
import net.legacy.library.commons.factory.InjectorFactory;
import net.legacy.library.commons.injector.annotation.VarHandleAutoInjection;

import java.lang.invoke.MethodHandles;
import java.lang.invoke.VarHandle;
Expand Down Expand Up @@ -39,7 +40,7 @@
* dependencies (in this case, {@link VarHandle} instances) into static fields of a class.
*
* @author qwq-dev
* @see me.qwqdev.library.commons.factory.InjectorFactory
* @see InjectorFactory
* @since 2024-12-23 16:15
*/
@InjectableComponent
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.commons.injector.annotation;
package net.legacy.library.commons.injector.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.commons.task;
package net.legacy.library.commons.task;

import io.fairyproject.mc.scheduler.MCScheduler;
import io.fairyproject.mc.scheduler.MCSchedulers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package me.qwqdev.library.commons.task.annotation;
package net.legacy.library.commons.task.annotation;

import me.qwqdev.library.commons.task.TaskInterface;
import net.legacy.library.commons.task.TaskInterface;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand All @@ -13,7 +13,7 @@
*
* <p>When a class annotated with {@link TaskAutoStartAnnotation} is detected,
* the {@link TaskAutoStartAnnotationProcessor} will automatically call its {@link TaskInterface#start()} method
* (assuming it implements {@link me.qwqdev.library.commons.task.TaskInterface}).
* (assuming it implements {@link TaskInterface}).
*
* <p>Once the annotation processor detects the above class, it will instantiate
* and invoke its {@link TaskInterface#start()} method, ensuring tasks are automatically initialized.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package me.qwqdev.library.commons.task.annotation;
package net.legacy.library.commons.task.annotation;

import io.fairyproject.container.Containers;
import io.fairyproject.log.Log;
import me.qwqdev.library.annotation.service.AnnotationProcessor;
import me.qwqdev.library.annotation.service.CustomAnnotationProcessor;
import me.qwqdev.library.commons.task.TaskInterface;
import net.legacy.library.annotation.service.AnnotationProcessor;
import net.legacy.library.annotation.service.CustomAnnotationProcessor;
import net.legacy.library.commons.task.TaskInterface;

/**
* The {@link TaskAutoStartAnnotationProcessor} is responsible for processing
Expand Down
4 changes: 2 additions & 2 deletions configuration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ safely in a multi-threaded environment.
// Dependencies
dependencies {
// annotation module
compileOnly("me.qwqdev.library:annotation:1.0-SNAPSHOT")
compileOnly("net.legacy.library:annotation:1.0-SNAPSHOT")

// configuration module
compileOnly("me.qwqdev.library:configuration:1.0-SNAPSHOT")
compileOnly("net.legacy.library:configuration:1.0-SNAPSHOT")
}
```

Expand Down
2 changes: 1 addition & 1 deletion configuration/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# configuration
package=me.qwqdev.library.configuration
package=net.legacy.library.configuration
name=configuration
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.configuration;
package net.legacy.library.configuration;

import io.fairyproject.FairyLaunch;
import io.fairyproject.container.InjectableComponent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.configuration.factory;
package net.legacy.library.configuration.factory;

import de.leonhard.storage.SimplixBuilder;
import de.leonhard.storage.internal.settings.ConfigSettings;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.qwqdev.library.configuration.serialize.annotation;
package net.legacy.library.configuration.serialize.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package me.qwqdev.library.configuration.serialize.annotation;
package net.legacy.library.configuration.serialize.annotation;

import de.leonhard.storage.internal.serialize.SimplixSerializable;
import de.leonhard.storage.internal.serialize.SimplixSerializer;
import io.fairyproject.log.Log;
import me.qwqdev.library.annotation.service.AnnotationProcessor;
import me.qwqdev.library.annotation.service.CustomAnnotationProcessor;
import net.legacy.library.annotation.service.AnnotationProcessor;
import net.legacy.library.annotation.service.CustomAnnotationProcessor;

/**
* The type Simplix serializer serializable auto register processor.
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
group=me.qwqdev.library
package=me.qwqdev.library
group=net.legacy.library
package=net.legacy.library
version=1.0-SNAPSHOT
spigot.version = 1.20.6
2 changes: 1 addition & 1 deletion mongodb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ For the first and second level cache, it is actually implemented in the cache mo
// Dependencies
dependencies {
// mongodb module
compileOnly("me.qwqdev.library:mongodb:1.0-SNAPSHOT")
compileOnly("net.legacy.library:mongodb:1.0-SNAPSHOT")
}
```

Expand Down
Loading

0 comments on commit 8c184bb

Please sign in to comment.