Skip to content

Commit

Permalink
Finished exposing object inheritance. Site-deploy works with localhost.
Browse files Browse the repository at this point in the history
  • Loading branch information
LadyCailin committed Oct 8, 2016
1 parent fdcf556 commit 34be218
Show file tree
Hide file tree
Showing 185 changed files with 17,020 additions and 13,459 deletions.
535 changes: 535 additions & 0 deletions hs_err_pid18246.log

Large diffs are not rendered by default.

Binary file added persistence.db
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
import com.laytonsmith.annotations.typeof;
import com.laytonsmith.core.SimpleDocumentation;
import com.laytonsmith.core.functions.DummyFunction;
import com.laytonsmith.core.natives.interfaces.TypeofRunnerFor;
import com.laytonsmith.core.natives.interfaces.TypeofRunnerIface;
import java.io.File;
import java.io.FileOutputStream;
import java.lang.reflect.Method;
Expand All @@ -23,6 +21,8 @@
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import com.laytonsmith.PureUtilities.Common.Annotations.InterfaceRunnerFor;
import com.laytonsmith.core.natives.interfaces.MixedInterfaceRunner;

/**
*
Expand Down Expand Up @@ -63,8 +63,8 @@ public static void main(String[] args) throws Exception {
for(Class c : apiClasses){
boolean isGetNameExempt = false;
if(c.isInterface()){
for(Class r : ClassDiscovery.getDefaultInstance().loadClassesWithAnnotation(TypeofRunnerFor.class)){
TypeofRunnerFor f = (TypeofRunnerFor) r.getAnnotation(TypeofRunnerFor.class);
for(Class r : ClassDiscovery.getDefaultInstance().loadClassesWithAnnotation(InterfaceRunnerFor.class)){
InterfaceRunnerFor f = (InterfaceRunnerFor) r.getAnnotation(InterfaceRunnerFor.class);
if(f.value() == c){
isGetNameExempt = c.getAnnotation(typeof.class) != null;
c = r;
Expand All @@ -78,7 +78,7 @@ public static void main(String[] args) throws Exception {
// Skip this one. These are excused from the normal reporting requirements.
continue;
}
if(!SimpleDocumentation.class.isAssignableFrom(c) && !TypeofRunnerIface.class.isAssignableFrom(c)){
if(!SimpleDocumentation.class.isAssignableFrom(c) && !MixedInterfaceRunner.class.isAssignableFrom(c)){
uhohs.add(c.getName() + " must implement SimpleDocumentation");
continue;
}
Expand Down
Loading

0 comments on commit 34be218

Please sign in to comment.