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

com.kero.security.core.utils.ByteBuddyClassUtils Maven / Gradle / Ivy

Go to download

Kero-Security is a library for statically controlling access to properties of objects / classes.

There is a newer version: 0.1.39
Show newest version
package com.kero.security.core.utils;

import net.bytebuddy.description.type.TypeDescription;

public class ByteBuddyClassUtils {

	public static boolean checkAccessible(Class target) {
		
		return TypeDescription.ForLoadedType.of(target).asErasure().isAccessibleTo(TypeDescription.ForLoadedType.of(ByteBuddyClassUtils.class));
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy