incluir .gitignore

This commit is contained in:
Isidoro Nevares Martín
2026-10-07 08:37:23 +02:00
parent 4f98fbcbd1
commit f73f34d4d4
8 changed files with 19 additions and 45 deletions
-10
View File
@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk-25">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
+16
View File
@@ -0,0 +1,16 @@
# Eclipse
.classpath
.project
.settings/
# Compilación Java
bin/
target/
*.class
# Logs
*.log
# Sistema operativo
.DS_Store
Thumbs.db
-17
View File
@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Componentes_02</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
@@ -1,2 +0,0 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
-13
View File
@@ -1,13 +0,0 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=24
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=24
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=24
Binary file not shown.
Binary file not shown.
+3 -3
View File
@@ -8,7 +8,7 @@ import org.palomafp.aadd.inm.model.Continente;
/** /**
* *
* AppPrincipal: Clase que realiza .... * AppPrincipal: Clase que realiza pruebas sobre las características de Introspección y Reflexión de JAVA
* @author Isidoro Nevares Martín - IES Virgen de la Paloma * @author Isidoro Nevares Martín - IES Virgen de la Paloma
* @date 7 oct 2026 * @date 7 oct 2026
* *
@@ -53,10 +53,10 @@ public class AppPrincipal {
Object objetoContinente = claseContinente.getDeclaredConstructor().newInstance(); Object objetoContinente = claseContinente.getDeclaredConstructor().newInstance();
// Buscar el setter // Obtener el setter del atributo "codigo"
Method metodoSet = claseContinente.getMethod("setCodigo", String.class); Method metodoSet = claseContinente.getMethod("setCodigo", String.class);
// Ejecutar el setter // Ejecutar el método
metodoSet.invoke(objetoContinente, "01"); metodoSet.invoke(objetoContinente, "01");
System.out.println(objetoContinente); System.out.println(objetoContinente);